8072061: Automatically determine optimal sizes for the CDS regions
authoriklam
Wed, 02 Aug 2017 18:07:02 -0700
changeset 46240 98d72284506a
parent 46239 bd5621d3ebc1
child 46241 3a86e1e929c7
8072061: Automatically determine optimal sizes for the CDS regions Summary: See new C++ class MetaspaceClosure. Reviewed-by: coleenp, jiangli, mseledtsov
test/lib/sun/hotspot/WhiteBox.java
--- 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.