test/java/lang/management/MemoryMXBean/MemoryTest.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/test/java/lang/management/MemoryMXBean/MemoryTest.java Fri Aug 22 12:26:12 2014
--- new/test/java/lang/management/MemoryMXBean/MemoryTest.java Fri Aug 22 12:26:12 2014
*** 57,73 ****
--- 57,73 ----
// Number of memory managers = 3
// They are: Copy/Scavenger + MSC + CodeCache manager
// (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" };
public static void main(String args[]) throws Exception {
test/java/lang/management/MemoryMXBean/MemoryTest.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File