Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
779:d0e0d6d824d8 | 780:c96bf21b756f |
---|---|
1660 clear_inline_bailout(); | 1660 clear_inline_bailout(); |
1661 if (res) { | 1661 if (res) { |
1662 // Register dependence if JVMTI has either breakpoint | 1662 // Register dependence if JVMTI has either breakpoint |
1663 // setting or hotswapping of methods capabilities since they may | 1663 // setting or hotswapping of methods capabilities since they may |
1664 // cause deoptimization. | 1664 // cause deoptimization. |
1665 if (JvmtiExport::can_hotswap_or_post_breakpoint()) { | 1665 if (compilation()->env()->jvmti_can_hotswap_or_post_breakpoint()) { |
1666 dependency_recorder()->assert_evol_method(inline_target); | 1666 dependency_recorder()->assert_evol_method(inline_target); |
1667 } | 1667 } |
1668 return; | 1668 return; |
1669 } | 1669 } |
1670 } | 1670 } |
2861 // setup state for std entry | 2861 // setup state for std entry |
2862 _initial_state = state_at_entry(); | 2862 _initial_state = state_at_entry(); |
2863 start_block->merge(_initial_state); | 2863 start_block->merge(_initial_state); |
2864 | 2864 |
2865 BlockBegin* sync_handler = NULL; | 2865 BlockBegin* sync_handler = NULL; |
2866 if (method()->is_synchronized() || DTraceMethodProbes) { | 2866 if (method()->is_synchronized() || _compilation->env()->dtrace_method_probes()) { |
2867 // setup an exception handler to do the unlocking and/or notification | 2867 // setup an exception handler to do the unlocking and/or notification |
2868 sync_handler = new BlockBegin(-1); | 2868 sync_handler = new BlockBegin(-1); |
2869 sync_handler->set(BlockBegin::exception_entry_flag); | 2869 sync_handler->set(BlockBegin::exception_entry_flag); |
2870 sync_handler->set(BlockBegin::is_on_work_list_flag); | 2870 sync_handler->set(BlockBegin::is_on_work_list_flag); |
2871 sync_handler->set(BlockBegin::default_exception_handler_flag); | 2871 sync_handler->set(BlockBegin::default_exception_handler_flag); |