Mercurial > hg > truffle
diff test/testlibrary/whitebox/sun/hotspot/WhiteBox.java @ 20540:b509b7ff561c
8049599: MetaspaceGC::_capacity_until_GC can overflow
Reviewed-by: jmasa, stefank
author | ehelin |
---|---|
date | Wed, 01 Oct 2014 16:09:01 +0200 |
parents | e2452c3ff7fb |
children | 417e3b8d04c5 |
line wrap: on
line diff
--- a/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java Fri Oct 10 03:19:30 2014 -0700 +++ b/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java Wed Oct 01 16:09:01 2014 +0200 @@ -152,6 +152,8 @@ public native void readReservedMemory(); public native long allocateMetaspace(ClassLoader classLoader, long size); public native void freeMetaspace(ClassLoader classLoader, long addr, long size); + public native long incMetaspaceCapacityUntilGC(long increment); + public native long metaspaceCapacityUntilGC(); // force Young GC public native void youngGC();