# HG changeset patch # User iklam # Date 1501722422 25200 # Node ID 98d72284506aa5f76a0360849c8ce67c2d85dc8c # Parent bd5621d3ebc108c7510246e52c2b1c9402dfcbdb 8072061: Automatically determine optimal sizes for the CDS regions Summary: See new C++ class MetaspaceClosure. Reviewed-by: coleenp, jiangli, mseledtsov diff -r bd5621d3ebc1 -r 98d72284506a 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.