Request for review: 8009778: NPG: ClassMetaspaceSize is used before set in set_ergonomics_flags()
harold seigel
harold.seigel at oracle.com
Thu May 30 11:05:49 PDT 2013
Hi,
Please review this fix for bug 8009778.
The fix adds a function, class_metaspace_size_for_compressed_ptrs(),
that returns what the value will be for ClassMetaspaceSize if
CompressedKlassPointers are used. This enables the correct value for
ClassMetaspaceSize to be used by max_heap_for_compressed_oops() before
ClassMetaspaceSize gets set in set_ergonomics_flags().
The fix was tested with JCK lang and vm tests, UTE vm.quick.testlist and
vm.mlvm.testlist tests, JPRT, and jtreg tests. Tests were run on Linux
and Solaris. The debugger was used to step through the code to ensure
that the fix behaved as expected.
Open webrev at http://cr.openjdk.java.net/~hseigel/bug_8009778/
<http://cr.openjdk.java.net/%7Ehseigel/bug_8009778/>
Bug link at http://bugs.sun.com/view_bug.do?bug_id=8009778
JBS bug link at https://jbs.oracle.com/bugs/browse/JDK-8009778
Thanks, Harold
More information about the hotspot-runtime-dev
mailing list