RFR: 8062536: [TESTBUG] Conflicting GC combinations in jdk tests
david.holmes at oracle.com
Thu Nov 6 02:20:07 UTC 2014
On 6/11/2014 1:33 AM, Evgeniya Stepanova wrote:
> Please review changes for 8062536, the OpenJDK/jdk part of the JDK-8019361
> bug: https://bugs.openjdk.java.net/browse/JDK-8062536
> fix: http://cr.openjdk.java.net/~eistepan/8062536/webrev.00/
> Problem: Some tests explicitly set GC and fail when another GC is set
I don't see why you have done this for the
tests. They don't set any GC flags.
> Solution: Such tests marked with the jtreg tag "requires" to skip test
> if there is a conflict
Just wondering: Does a skipped test get a .jtr file showing it was
skipped; or does it only appear in the higher-level jtreg log?
> Tested locally with different GC flags (-XX:+UseG1GC,
> -XX:+UseParallelGC, -XX:+UseSerialGC, -XX:+UseConcMarkSweep and without
> any GC flag). Tests are being excluded as expected. No tests failed
> because of the conflict.
> Evgeniya Stepanova
More information about the hotspot-gc-dev