Mercurial > hg > graal-compiler
diff src/share/vm/c1/c1_GraphBuilder.cpp @ 780:c96bf21b756f
6788527: Server vm intermittently fails with assertion "live value must not be garbage" with fastdebug bits
Summary: Cache Jvmti and DTrace flags used by Compiler.
Reviewed-by: never
author | kvn |
---|---|
date | Fri, 08 May 2009 10:44:20 -0700 |
parents | be93aad57795 |
children | bd02caa94611 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_GraphBuilder.cpp Fri May 08 10:34:31 2009 -0700 +++ b/src/share/vm/c1/c1_GraphBuilder.cpp Fri May 08 10:44:20 2009 -0700 @@ -1662,7 +1662,7 @@ // 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 @@ 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);