Mercurial > hg > truffle
comparison test/testlibrary/whitebox/sun/hotspot/WhiteBox.java @ 20278:2c6ef90f030a
8049421: G1 Class Unloading after completing a concurrent mark cycle
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
Contributed-by: stefan.karlsson@oracle.com, mikael.gerdin@oracle.com
author | stefank |
---|---|
date | Mon, 07 Jul 2014 10:12:40 +0200 |
parents | 0c48231c5c84 |
children | 4bfc44ba0d19 |
comparison
equal
deleted
inserted
replaced
20277:882004b9e7e1 | 20278:2c6ef90f030a |
---|---|
140 // Intered strings | 140 // Intered strings |
141 public native boolean isInStringTable(String str); | 141 public native boolean isInStringTable(String str); |
142 | 142 |
143 // Memory | 143 // Memory |
144 public native void readReservedMemory(); | 144 public native void readReservedMemory(); |
145 public native long allocateMetaspace(ClassLoader classLoader, long size); | |
146 public native void freeMetaspace(ClassLoader classLoader, long addr, long size); | |
145 | 147 |
146 // force Full GC | 148 // force Full GC |
147 public native void fullGC(); | 149 public native void fullGC(); |
148 | 150 |
149 // Tests on ReservedSpace/VirtualSpace classes | 151 // Tests on ReservedSpace/VirtualSpace classes |