[11u] RFR 8222015: Small VM.metaspace improvements

Thomas Stüfe thomas.stuefe at gmail.com
Mon Jun 24 14:24:33 UTC 2019


Dear all,

may I please have reviews for this 11u downport fix:

Original Issue:  https://bugs.openjdk.java.net/browse/JDK-8222015
Original patch: http://hg.openjdk.java.net/jdk/jdk/rev/fcf83b204c27

11u dev webrev:
http://cr.openjdk.java.net/~stuefe/webrevs/backports/8222015-Small-VM.metaspace-improvements-11-full/webrev
Manual changes:
http://cr.openjdk.java.net/~stuefe/webrevs/backports/8222015-Small-VM.metaspace-improvements-11-delta.patch

This patch makes VM.metaspace "CDS aware" - before this patch, the printout
was confusing and misleading if CDS was enabled and bootstrap classes were
loaded from a shared archive.

Unfortunately the patch did not apply cleanly since in head it is preceded
by two larger changes:

1) "8209301: JVM rename is_anonymous, host_klass to unsafe specific
terminology ahead of Unsafe.defineAnonymousClass deprecation"
2) "8208671: Runtime, JFR, Serviceability changes to allow enabling
-Wreorder"
First one is a wholesale renaming change, second one reorders initializer
lists across the whole VM. Again, I did not want to backport that. I was
unsure though. Do you agree with the decision to leave out these two
changes?

--

Thanks, Thomas


More information about the jdk-updates-dev mailing list