diff 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
line wrap: on
line diff
--- a/src/share/vm/oops/methodData.cpp	Tue Nov 18 00:56:42 2014 +0000
+++ b/src/share/vm/oops/methodData.cpp	Tue Nov 11 11:05:41 2014 +0100
@@ -1153,7 +1153,7 @@
   _backedge_counter_start = 0;
   _num_loops = 0;
   _num_blocks = 0;
-  _would_profile = true;
+  _would_profile = unknown;
 
 #if INCLUDE_RTM_OPT
   _rtm_state = NoRTM; // No RTM lock eliding by default