Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
20539:1fa6d1542e32 | 20540:b509b7ff561c |
---|---|
150 | 150 |
151 // Memory | 151 // Memory |
152 public native void readReservedMemory(); | 152 public native void readReservedMemory(); |
153 public native long allocateMetaspace(ClassLoader classLoader, long size); | 153 public native long allocateMetaspace(ClassLoader classLoader, long size); |
154 public native void freeMetaspace(ClassLoader classLoader, long addr, long size); | 154 public native void freeMetaspace(ClassLoader classLoader, long addr, long size); |
155 public native long incMetaspaceCapacityUntilGC(long increment); | |
156 public native long metaspaceCapacityUntilGC(); | |
155 | 157 |
156 // force Young GC | 158 // force Young GC |
157 public native void youngGC(); | 159 public native void youngGC(); |
158 | 160 |
159 // force Full GC | 161 // force Full GC |