test/java/lang/management/MemoryMXBean/MemoryTest.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8015774_jdk Cdiff test/java/lang/management/MemoryMXBean/MemoryTest.java

test/java/lang/management/MemoryMXBean/MemoryTest.java

Print this page

        

*** 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 // - 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 expectedNumGCMgrs = 2; private static int expectedNumMgrs = expectedNumGCMgrs + 2; private static String[] types = { "heap", "non-heap" }; public static void main(String args[]) throws Exception { --- 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 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, 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