changeset 2777:d2b64cb3dc6e

8072061: Automatically determine optimal sizes for the CDS regions Summary: See new C++ class MetaspaceClosure. Reviewed-by: coleenp, jiangli, mseledtsov
author iklam
date Wed, 02 Aug 2017 18:07:02 -0700
parents d16c61dfcaf6
children d51f7271f795
files test/lib/sun/hotspot/WhiteBox.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.