changeset 2158:114b709abea1

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 278dbe271a52
children 5d2c504ff630
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();