# HG changeset patch # User goetz # Date 1535104006 -7200 # Fri Aug 24 11:46:46 2018 +0200 # Node ID d6bfd4d71ee185bb7f6d97326f1bc8404bb4d401 # Parent 7c3891b9f1e00e9d80ebedd0b5a410fbbb6f9551 8209939: [testbug][ppc] Test SafepointPollingPages fails after 8208499 with UseSIGTRAP on. diff --git a/test/hotspot/jtreg/runtime/NMT/SafepointPollingPages.java b/test/hotspot/jtreg/runtime/NMT/SafepointPollingPages.java --- a/test/hotspot/jtreg/runtime/NMT/SafepointPollingPages.java +++ b/test/hotspot/jtreg/runtime/NMT/SafepointPollingPages.java @@ -21,7 +21,7 @@ * questions. */ -/* +/** * @test * @bug 8208499 * @summary NMT should report safepoint polling page(s) @@ -29,8 +29,9 @@ * @library /test/lib * @modules java.base/jdk.internal.misc * java.management - * @run main/othervm -Xbootclasspath/a:. -XX:NativeMemoryTracking=summary -XX:+ThreadLocalHandshakes SafepointPollingPages - * @run main/othervm -Xbootclasspath/a:. -XX:NativeMemoryTracking=summary -XX:-ThreadLocalHandshakes SafepointPollingPages + * @comment On ppc, with UseSIGTRAP on, no polling pages are used, but trap instructions instead. + * @run main/othervm -XX:-UseSIGTRAP -XX:+IgnoreUnrecognizedVMOptions -Xbootclasspath/a:. -XX:NativeMemoryTracking=summary -XX:+ThreadLocalHandshakes SafepointPollingPages + * @run main/othervm -XX:-UseSIGTRAP -XX:+IgnoreUnrecognizedVMOptions -Xbootclasspath/a:. -XX:NativeMemoryTracking=summary -XX:-ThreadLocalHandshakes SafepointPollingPages */ import jdk.test.lib.process.ProcessTools;