8015774: Add support for multiple code heaps
Support for segmentation of the code cache. Separate code heaps are created and used to store code of different types. Reviewed-by: kvn, iveresov, roland, anoll, egahlin, sla
This commit is contained in:
parent
04ec3bf1d4
commit
37bfec7de8
@ -59,13 +59,13 @@ public class MemoryTest {
|
||||
// (or equivalent for other collectors)
|
||||
// Number of GC memory managers = 2
|
||||
|
||||
// Hotspot VM 1.8+ after perm gen removal is expected to have two or
|
||||
// three non-heap memory pools:
|
||||
// - Code cache
|
||||
// Hotspot VM 1.8+ after perm gen removal is expected to have between two
|
||||
// or five non-heap memory pools:
|
||||
// - Code cache (between one and three depending on the -XX:SegmentedCodeCache option)
|
||||
// - Metaspace
|
||||
// - Compressed Class Space (if compressed class pointers are used)
|
||||
private static int[] expectedMinNumPools = {3, 2};
|
||||
private static int[] expectedMaxNumPools = {3, 3};
|
||||
private static int[] expectedMaxNumPools = {3, 5};
|
||||
private static int expectedNumGCMgrs = 2;
|
||||
private static int expectedNumMgrs = expectedNumGCMgrs + 2;
|
||||
private static String[] types = { "heap", "non-heap" };
|
||||
|
Loading…
x
Reference in New Issue
Block a user