changeset 52287:384c9c753f47

8209939: [testbug][ppc] Test SafepointPollingPages fails after 8208499 with UseSIGTRAP on. Reviewed-by: mdoerr, ghaug
author goetz
date Tue, 28 Aug 2018 17:03:16 +0200
parents 5303c6c05db6
children 29517169ad2d
files test/hotspot/jtreg/runtime/NMT/SafepointPollingPages.java
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/hotspot/jtreg/runtime/NMT/SafepointPollingPages.java	Tue Aug 28 10:10:11 2018 -0400
+++ b/test/hotspot/jtreg/runtime/NMT/SafepointPollingPages.java	Tue Aug 28 17:03:16 2018 +0200
@@ -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;