8026752: Cancel MetaspaceGC request for a CMS concurrent collection after GC
authorjmasa
Fri, 10 Jun 2016 11:40:02 -0700
changeset 39195 8aa38604bd2b
parent 37969 2203863bfe3e
child 39196 1973d0318492
8026752: Cancel MetaspaceGC request for a CMS concurrent collection after GC Reviewed-by: sjohanss, sangheki
test/lib/sun/hotspot/WhiteBox.java
--- a/test/lib/sun/hotspot/WhiteBox.java	Sat May 14 09:11:01 2016 -0700
+++ b/test/lib/sun/hotspot/WhiteBox.java	Fri Jun 10 11:40:02 2016 -0700
@@ -376,6 +376,7 @@
   public native void freeMetaspace(ClassLoader classLoader, long addr, long size);
   public native long incMetaspaceCapacityUntilGC(long increment);
   public native long metaspaceCapacityUntilGC();
+  public native boolean metaspaceShouldConcurrentCollect();
 
   // Force Young GC
   public native void youngGC();