RFR(S): 8179243 - [TESTBUG] CDS tests should be excluded from running with -UseCompressedOops

mikhailo mikhailo.seledtsov at oracle.com
Tue Apr 25 23:43:24 UTC 2017


Please review this simple change that adds "@requires" statements
to prevent CDS tests from execution with CompressedOops off,
since CDS is only available with compressed oops on.
Also, a small correction to SharedArchiveFile.java to instruct
Java Process Builder to pass the VM Test flags to the child VMs processes.


JBS: https://bugs.openjdk.java.net/browse/JDK-8179243
Webrev: http://cr.openjdk.java.net/~mseledtsov/8179243.00/
Testing:
   Local:
     Linux-x64
     Ran CDS tests (hotspot/test/runtime/SharedArchiveFile/):
       - default run w/o any additional flags
       - with -XX:-UseCompressedOops, -XX:+UseCompressedOops
       - multi-flag combo run, exercising major CL VM flags
         UseG1GC, UseParallelGC, UseSerialGC, CMS, Xcomp
       All PASS

   Automated multi-platform testing:
       hotspot_cds with default VM options
       hotspot_cds with -XX:-UseCompressedOops
       hotspot_cds with -XX:+UseCompressedOops
       hotspot_cds with -XX:+UseSerialGC
       In progress...


Thank you,
Misha



More information about the hotspot-runtime-dev mailing list