test/runtime/logging/SafepointTest.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/test/runtime/logging/SafepointTest.java	Wed Jan 20 11:48:38 2016
--- new/test/runtime/logging/SafepointTest.java	Wed Jan 20 11:48:38 2016

*** 1,7 **** --- 1,7 ---- /* ! * Copyright (c) 2015, 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.
*** 36,47 **** --- 36,47 ---- import jdk.test.lib.OutputAnalyzer; import jdk.test.lib.ProcessTools; public class SafepointTest { public static void main(String[] args) throws Exception { ! ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xlog:safepoint=trace", ! "-Xlog:safepoint=trace", InnerClass.class.getName()); ! InnerClass.class.getName()); OutputAnalyzer output = new OutputAnalyzer(pb.start()); output.shouldContain("Safepoint synchronization initiated. ("); output.shouldContain("Entering safepoint region: "); output.shouldContain("Leaving safepoint region"); output.shouldContain("_at_poll_safepoint");

test/runtime/logging/SafepointTest.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File