RFR(xs): 8199431: Split up class Metaspace into a static and a non-static part

Thomas Stüfe thomas.stuefe at gmail.com
Mon Mar 12 07:22:15 UTC 2018


Hi all,

I please have reviews and a sponsor for this small change. This is another
breakout from a breakout from 8185034.

In short, this splits the Metaspace class into two classes, one holding the
actual metaspace memory for a single class loader, one serving as a static
namespace for metaspace-central static functions. This dual role made the
code more difficult to read and was a source for errors (see e.g. 8199007).

Bug: https://bugs.openjdk.java.net/browse/JDK-8199431
webrev: http://cr.openjdk.java.net/~stuefe/webrevs/8199431-split-cla
ss-metaspace-into-two-parts/webrev.00/webrev

Note: may only apply atop of this patch:  http://cr.openjdk.java.net/~st
uefe/webrevs/8199430-rename-metaspace-aux/webrev.00/webrev/

Thanks, Thomas


More information about the hotspot-runtime-dev mailing list