[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 15:16:47 UTC 2018
Thank you, Tobias
Vladimir
On 10/3/18 2:11 AM, Tobias Hartmann wrote:
> Hi Vladimir,
>
> looks reasonable to me.
>
> Best regards,
> Tobias
>
> On 03.10.2018 03:50, Vladimir Kozlov wrote:
>> 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