RFR: 8265360: several compiler/whitebox tests fail with "private compiler.whitebox.SimpleTestCaseHelper(int) must be compiled"

Tobias Hartmann thartmann at openjdk.java.net
Mon May 2 07:24:37 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.

Looks good to me. Can [JDK-8282032](https://bugs.openjdk.java.net/browse/JDK-8282032) now be closed as duplicate or is it a different issue?

-------------

Marked as reviewed by thartmann (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8473


More information about the hotspot-compiler-dev mailing list