comparison src/share/vm/oops/methodData.cpp @ 20651:600c44255e5f

8056071: compiler/whitebox/IsMethodCompilableTest.java fails with 'method() is not compilable after 3 iterations' Summary: Always use MDO if valid and always compile trivial methods with C1 if available. Reviewed-by: kvn, iveresov
author thartmann
date Tue, 11 Nov 2014 11:05:41 +0100
parents 631667807de7
children 7848fc12602b
comparison
equal deleted inserted replaced
20650:f84125b6f69a 20651:600c44255e5f
1151 _backedge_counter.init(); 1151 _backedge_counter.init();
1152 _invocation_counter_start = 0; 1152 _invocation_counter_start = 0;
1153 _backedge_counter_start = 0; 1153 _backedge_counter_start = 0;
1154 _num_loops = 0; 1154 _num_loops = 0;
1155 _num_blocks = 0; 1155 _num_blocks = 0;
1156 _would_profile = true; 1156 _would_profile = unknown;
1157 1157
1158 #if INCLUDE_RTM_OPT 1158 #if INCLUDE_RTM_OPT
1159 _rtm_state = NoRTM; // No RTM lock eliding by default 1159 _rtm_state = NoRTM; // No RTM lock eliding by default
1160 if (UseRTMLocking && 1160 if (UseRTMLocking &&
1161 !CompilerOracle::has_option_string(_method, "NoRTMLockEliding")) { 1161 !CompilerOracle::has_option_string(_method, "NoRTMLockEliding")) {