< prev index next >

test/gc/arguments/TestSmallInitialHeapWithLargePageAndNUMA.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 25,44 **** * @test TestSmallInitialHeapWithLargePageAndNUMA * @bug 8023905 * @requires os.family == "linux" * @requires vm.gc.Parallel * @summary Check large pages and NUMA are working together via the output message. ! * @library /testlibrary /test/lib /test/lib/share/classes * @modules java.base/jdk.internal.misc * @modules java.management/sun.management * @build TestSmallInitialHeapWithLargePageAndNUMA * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -Xbootclasspath/a:. -XX:+UseHugeTLBFS -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI TestSmallInitialHeapWithLargePageAndNUMA */ ! import jdk.test.lib.ProcessTools; ! import jdk.test.lib.OutputAnalyzer; import sun.hotspot.WhiteBox; public class TestSmallInitialHeapWithLargePageAndNUMA { private static final String MSG_EXIT_TOO_SMALL_HEAP = "Failed initializing NUMA with large pages. Too small heap size"; --- 25,44 ---- * @test TestSmallInitialHeapWithLargePageAndNUMA * @bug 8023905 * @requires os.family == "linux" * @requires vm.gc.Parallel * @summary Check large pages and NUMA are working together via the output message. ! * @library /test/lib * @modules java.base/jdk.internal.misc * @modules java.management/sun.management * @build TestSmallInitialHeapWithLargePageAndNUMA * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -Xbootclasspath/a:. -XX:+UseHugeTLBFS -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI TestSmallInitialHeapWithLargePageAndNUMA */ ! import jdk.test.lib.process.ProcessTools; ! import jdk.test.lib.process.OutputAnalyzer; import sun.hotspot.WhiteBox; public class TestSmallInitialHeapWithLargePageAndNUMA { private static final String MSG_EXIT_TOO_SMALL_HEAP = "Failed initializing NUMA with large pages. Too small heap size";
< prev index next >