diff src/share/vm/opto/parse1.cpp @ 12966:b2ee5dc63353

8024070: C2 needs some form of type speculation Summary: record unused type profile information with type system, propagate and use it. Reviewed-by: kvn, twisti
author roland
date Wed, 23 Oct 2013 12:40:23 +0200
parents 3213ba4d3dff
children de6a9e811145 2113136690bc
line wrap: on
line diff
--- a/src/share/vm/opto/parse1.cpp	Wed Oct 23 10:00:39 2013 +0200
+++ b/src/share/vm/opto/parse1.cpp	Wed Oct 23 12:40:23 2013 +0200
@@ -1102,6 +1102,10 @@
     _synch_lock = shared_lock(lock_obj);
   }
 
+  // Feed profiling data for parameters to the type system so it can
+  // propagate it as speculative types
+  record_profiled_parameters_for_speculation();
+
   if (depth() == 1) {
     increment_and_test_invocation_counter(Tier2CompileThreshold);
   }