< prev index next >

test/runtime/Safepoint/AssertSafepointCheckConsistency3.java

Print this page

        

*** 23,42 **** /* * @test * @bug 8047290 * @summary Ensure that Monitor::lock_without_safepoint_check does not assert when it correctly acquires a lock which must never have safepoint checks. ! * @library /testlibrary /test/lib * @modules java.base/jdk.internal.misc * java.management ! * @build AssertSafepointCheckConsistency3 * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main AssertSafepointCheckConsistency3 */ ! import jdk.test.lib.*; import sun.hotspot.WhiteBox; public class AssertSafepointCheckConsistency3 { public static void main(String args[]) throws Exception { --- 23,44 ---- /* * @test * @bug 8047290 * @summary Ensure that Monitor::lock_without_safepoint_check does not assert when it correctly acquires a lock which must never have safepoint checks. ! * @library /test/lib * @modules java.base/jdk.internal.misc * java.management ! * @build sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main AssertSafepointCheckConsistency3 */ ! import jdk.test.lib.process.ProcessTools; ! import jdk.test.lib.process.OutputAnalyzer; ! import jdk.test.lib.Platform; import sun.hotspot.WhiteBox; public class AssertSafepointCheckConsistency3 { public static void main(String args[]) throws Exception {
< prev index next >