mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8024070: C2 needs some form of type speculation
Record unused type profile information with type system, propagate and use it. Reviewed-by: kvn, twisti
This commit is contained in:
parent
ceb177b16f
commit
1b5bd82335
22 changed files with 1429 additions and 144 deletions
|
@ -1102,6 +1102,10 @@ void Parse::do_method_entry() {
|
|||
_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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue