< prev index next >
test/gc/logging/TestGCId.java
Print this page
*** 25,41 ****
* @test TestGCId
* @bug 8043607
* @summary Ensure that the GCId is logged
* @requires vm.gc=="null"
* @key gc
! * @library /testlibrary
* @modules java.base/jdk.internal.misc
* java.management
*/
! import jdk.test.lib.ProcessTools;
! import jdk.test.lib.OutputAnalyzer;
public class TestGCId {
public static void main(String[] args) throws Exception {
testGCId("UseParallelGC");
testGCId("UseG1GC");
--- 25,41 ----
* @test TestGCId
* @bug 8043607
* @summary Ensure that the GCId is logged
* @requires vm.gc=="null"
* @key gc
! * @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
*/
! import jdk.test.lib.process.OutputAnalyzer;
! import jdk.test.lib.process.ProcessTools;
public class TestGCId {
public static void main(String[] args) throws Exception {
testGCId("UseParallelGC");
testGCId("UseG1GC");
< prev index next >