8072061: Automatically determine optimal sizes for the CDS regions
Summary: See new C++ class MetaspaceClosure.
Reviewed-by: coleenp, jiangli, mseledtsov
--- a/test/lib/sun/hotspot/WhiteBox.java Wed Aug 02 15:59:32 2017 +0000
+++ b/test/lib/sun/hotspot/WhiteBox.java Wed Aug 02 18:07:02 2017 -0700
@@ -377,6 +377,7 @@
public native long incMetaspaceCapacityUntilGC(long increment);
public native long metaspaceCapacityUntilGC();
public native boolean metaspaceShouldConcurrentCollect();
+ public native long metaspaceReserveAlignment();
// Don't use these methods directly
// Use sun.hotspot.gc.GC class instead.