changeset 39195:8aa38604bd2b

8026752: Cancel MetaspaceGC request for a CMS concurrent collection after GC Reviewed-by: sjohanss, sangheki
author jmasa
date Fri, 10 Jun 2016 11:40:02 -0700
parents 2203863bfe3e
children 1973d0318492
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	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();