Integrated: 8265360: several compiler/whitebox tests fail with "private compiler.whitebox.SimpleTestCaseHelper(int) must be compiled"
Igor Veresov
iveresov at openjdk.java.net
Tue May 3 16:06:17 UTC 2022
On Fri, 29 Apr 2022 21:13:21 GMT, Igor Veresov <iveresov at openjdk.org> wrote:
> The compilation policy uses the length of the queues as a feedback mechanism that gives us information about the compilation speed. In some places it makes decisions based on the queue length length alone without looking at the invocation counters. That can cause a starvation effect. For example when running in a C2-only mode it may delay profiling in the interpreter if the C2 queue is too long. The solution to this is detect "old" methods (that is method that have been used a lot) and force putting them into the queue and let the queue prioritization deal with it.
>
> I also did some cleanup for things that got in the way.
> Testing looks clean.
This pull request has now been integrated.
Changeset: 4434c7df
Author: Igor Veresov <iveresov at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/4434c7df036a2b2ffff54b8b19943de3c23a4e52
Stats: 90 lines in 5 files changed: 32 ins; 8 del; 50 mod
8265360: several compiler/whitebox tests fail with "private compiler.whitebox.SimpleTestCaseHelper(int) must be compiled"
Reviewed-by: kvn, thartmann
-------------
PR: https://git.openjdk.java.net/jdk/pull/8473
More information about the hotspot-compiler-dev
mailing list