[11u] RFR: 8230402: Allocation of compile task fails with assert: "Leaking compilation tasks?"

Baesken, Matthias matthias.baesken at sap.com
Thu Jun 4 09:49:13 UTC 2020

Hi Götz, I noticed a small diff  regarding the timeout (and I find the timeouts in the test in https://hg.openjdk.java.net/jdk/jdk/rev/2ca886fd1d52)   when comparing to jdk/jdk , was this intentional ?

diff test/hotspot/jtreg/compiler/classUnloading/methodUnloading/TestOverloadCompileQueues.java     /jdk11u-dev/test/hotspot/jtreg/compiler/classUnloading/methodUnloading/TestOverloadCompileQueues.java
<  * @run main/othervm/timeout=300 -XX:-TieredCompilation -XX:CompileThreshold=2 -XX:CICompilerCount=1
>  * @run main/othervm -XX:-TieredCompilation -XX:CompileThreshold=2 -XX:CICompilerCount=1
<  * @run main/othervm/timeout=300 -XX:TieredCompileTaskTimeout=1000 -XX:CompileThresholdScaling=0.001 -XX:CICompilerCount=2
>  * @run main/othervm -XX:TieredCompileTaskTimeout=1000 -XX:CompileThresholdScaling=0.001 -XX:CICompilerCount=2

Otherwise looks good.

Best regards, Matthias

>I am downporting this for parity with 11.0.9-oracle.

>I had to resolve the test description.

>I added the @requires, it is useful in any case.



>Please review.


> https://bugs.openjdk.java.net/browse/JDK-8230402

> https://hg.openjdk.java.net/jdk/jdk/rev/2ca886fd1d52

More information about the jdk-updates-dev mailing list