8026752: Cancel MetaspaceGC request for a CMS concurrent collection after GC
Reviewed-by: sjohanss, sangheki
--- 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();