changeset 57484:81a62171f681

8235965: Tests using ThreadLocalHandshakes need to stop using it as it no longer exists Reviewed-by: iignatyev, jiefu
author dholmes
date Sun, 15 Dec 2019 21:56:17 -0500
parents 89bac05dac16
children b9a8f588e55a
files test/hotspot/jtreg/runtime/NMT/SafepointPollingPages.java test/hotspot/jtreg/runtime/handshake/HandshakeWalkStackFallbackTest.java
diffstat 2 files changed, 2 insertions(+), 38 deletions(-) [+]
line wrap: on
line diff
--- a/test/hotspot/jtreg/runtime/NMT/SafepointPollingPages.java	Sun Dec 15 19:56:12 2019 -0500
+++ b/test/hotspot/jtreg/runtime/NMT/SafepointPollingPages.java	Sun Dec 15 21:56:17 2019 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2018, 2019, 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
@@ -30,8 +30,7 @@
  * @modules java.base/jdk.internal.misc
  *          java.management
  * @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
+ * @run main/othervm -XX:-UseSIGTRAP -XX:+IgnoreUnrecognizedVMOptions -Xbootclasspath/a:. -XX:NativeMemoryTracking=summary SafepointPollingPages
  */
 
 import jdk.test.lib.process.ProcessTools;
@@ -53,4 +52,3 @@
     output.shouldContain("Safepoint (reserved=");
   }
 }
-
--- a/test/hotspot/jtreg/runtime/handshake/HandshakeWalkStackFallbackTest.java	Sun Dec 15 19:56:12 2019 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-/*
- * Copyright (c) 2017, 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.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- *
- */
-
-/*
- * @test HandshakeWalkStackFallbackTest
- * @summary This test the global safepoint fallback path for handshakes
- * @library /testlibrary /test/lib
- * @build HandshakeWalkStackTest
- * @run driver ClassFileInstaller sun.hotspot.WhiteBox
- *                              sun.hotspot.WhiteBox$WhiteBoxPermission
- * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:-ThreadLocalHandshakes HandshakeWalkStackTest
- */
-