[12] RFR(S) 8211392: compiler/profiling/spectrapredefineclass_classloaders/Launcher.java times out in JDK12 CI

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Oct 3 01:50:42 UTC 2018


http://cr.openjdk.java.net/~kvn/8211392/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8211392

Before nmethod Sweeper changes JDK-8132849 + JDK-8211129 running -XX:CompileThreshold=100 flag cause 
a lot of compilation in this test and full CodeCache (which is set to only 3Mb). As result test 
executed in interpreter and passed.

After nmethod Sweeper changes sweeper keeps up with compilation and removes invalidated nmethods 
fast enough for not hitting full CodeCache. But test runs with only C2 and background compilation 
off as result application execution is blocked by compilation. With small compilation threshold and 
usual "slow" C2 it is enough to hit 2 min time limit.

These tests should not be run with small threshold (and -Xcomp). There is no benefit to run them 
this way. I added default value -XX:CompileThreshold=10000 to profiling tests which run in such mode 
and excluded them from -Xcomp runs.

Tested tier1 and separately all compiler/profiling tests on all our platforms with fastdebug VM.

Thanks,
Vladimir


More information about the hotspot-compiler-dev mailing list