comparison 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
comparison
equal deleted inserted replaced
12965:8b4bbba322d3 12966:b2ee5dc63353
1099 // Clear out dead values from the debug info. 1099 // Clear out dead values from the debug info.
1100 kill_dead_locals(); 1100 kill_dead_locals();
1101 // Build the FastLockNode 1101 // Build the FastLockNode
1102 _synch_lock = shared_lock(lock_obj); 1102 _synch_lock = shared_lock(lock_obj);
1103 } 1103 }
1104
1105 // Feed profiling data for parameters to the type system so it can
1106 // propagate it as speculative types
1107 record_profiled_parameters_for_speculation();
1104 1108
1105 if (depth() == 1) { 1109 if (depth() == 1) {
1106 increment_and_test_invocation_counter(Tier2CompileThreshold); 1110 increment_and_test_invocation_counter(Tier2CompileThreshold);
1107 } 1111 }
1108 } 1112 }