RFR (S) 8024517: runtime/CDSCompressedKPtrs/XShareAuto.java failed with RuntimeException
harold seigel
harold.seigel at oracle.com
Fri Sep 13 12:05:40 PDT 2013
Hi,
Please review this small fix for bug 8024517. This test failed when run
on a small system because CDS was not disabled by default. Although the
test was run with '-server', CDS was not disabled because function
os::is_server_class_machine() returned FALSE. This fix disables CDS by
default if either os::is_server_class_machine() returns TRUE or the
server compiler is running.
Also, the '-server' option was added to the test's '-Xshare:dump'
command to ensure that the CDS region gets created by the same JVM that
tries to read it.
The change was tested with the XShareAuto.java test, by hand using the
NeverActAsServerClassMachine and AlwaysActAsServerClassMachine options,
the UTE vm quicktests, and JPRT.
Open webrev at: http://cr.openjdk.java.net/~hseigel/bug_8024517/
<http://cr.openjdk.java.net/%7Ehseigel/bug_8024517/>
Bug: https://bugs.openjdk.java.net/browse/JDK-8024517
Thanks! Harold
More information about the hotspot-runtime-dev
mailing list