mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 05:45:11 +02:00
6788527: Server vm intermittently fails with assertion "live value must not be garbage" with fastdebug bits
Cache Jvmti and DTrace flags used by Compiler. Reviewed-by: never
This commit is contained in:
parent
b5cff6a1a0
commit
34ee921399
16 changed files with 118 additions and 35 deletions
|
@ -1662,7 +1662,7 @@ void GraphBuilder::invoke(Bytecodes::Code code) {
|
|||
// Register dependence if JVMTI has either breakpoint
|
||||
// setting or hotswapping of methods capabilities since they may
|
||||
// cause deoptimization.
|
||||
if (JvmtiExport::can_hotswap_or_post_breakpoint()) {
|
||||
if (compilation()->env()->jvmti_can_hotswap_or_post_breakpoint()) {
|
||||
dependency_recorder()->assert_evol_method(inline_target);
|
||||
}
|
||||
return;
|
||||
|
@ -2863,7 +2863,7 @@ GraphBuilder::GraphBuilder(Compilation* compilation, IRScope* scope)
|
|||
start_block->merge(_initial_state);
|
||||
|
||||
BlockBegin* sync_handler = NULL;
|
||||
if (method()->is_synchronized() || DTraceMethodProbes) {
|
||||
if (method()->is_synchronized() || _compilation->env()->dtrace_method_probes()) {
|
||||
// setup an exception handler to do the unlocking and/or notification
|
||||
sync_handler = new BlockBegin(-1);
|
||||
sync_handler->set(BlockBegin::exception_entry_flag);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue