RFR(S) 8211392: compiler/profiling/spectrapredefineclass_classloaders/Launcher.java times out in JDK12 CI
tobias.hartmann at oracle.com
Wed Oct 3 09:11:26 UTC 2018
looks reasonable to me.
On 03.10.2018 03:50, Vladimir Kozlov wrote:
> 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.
More information about the hotspot-compiler-dev