Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8266230: mark hotspot compiler/c2 tests which ignore VM flags #3770

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions test/hotspot/jtreg/compiler/c2/TestBit.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 2021, 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
Expand Down Expand Up @@ -32,15 +32,16 @@
* @summary C2 should convert ((var&16) == 16) to ((var&16) != 0) for power-of-two constants
* @library /test/lib /
*
* @run driver compiler.c2.TestBit
*
* @requires vm.flagless
* @requires os.arch=="aarch64" | os.arch=="amd64" | os.arch == "ppc64le"
* @requires vm.debug == true & vm.compiler2.enabled
*
* @run driver compiler.c2.TestBit
*/
public class TestBit {

static void runTest(String testName) throws Exception {
String className = "compiler.c2.TestBit";
String className = TestBit.class.getName();
String[] procArgs = {
"-Xbatch",
"-XX:-TieredCompilation",
Expand Down
5 changes: 3 additions & 2 deletions test/hotspot/jtreg/compiler/c2/aarch64/TestSVEWithJNI.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, Arm Limited. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
Expand Down Expand Up @@ -29,8 +29,9 @@
* @requires os.arch == "aarch64" & vm.compiler2.enabled & os.family == "linux"
* @summary Verify VM SVE checking behavior
* @library /test/lib
* @run main/othervm/native compiler.c2.aarch64.TestSVEWithJNI
* @requires vm.flagless
*
* @run main/othervm/native compiler.c2.aarch64.TestSVEWithJNI
*/

package compiler.c2.aarch64;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
*
* @modules java.base/jdk.internal.misc
*
* @requires vm.flagless
* @requires os.arch=="aarch64" & vm.debug == true &
* vm.flavor == "server" & !vm.graal.enabled &
* vm.gc.G1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
*
* @modules java.base/jdk.internal.misc
*
* @requires vm.flagless
* @requires os.arch=="aarch64" & vm.debug == true &
* vm.flavor == "server" & !vm.graal.enabled &
* vm.gc.Parallel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
*
* @modules java.base/jdk.internal.misc
*
* @requires vm.flagless
* @requires os.arch=="aarch64" & vm.debug == true &
* vm.flavor == "server" & !vm.graal.enabled &
* vm.gc.Serial
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
*
* @modules java.base/jdk.internal.misc
*
* @requires vm.flagless
* @requires os.arch=="aarch64" & vm.debug == true &
* vm.flavor == "server" &
* vm.gc.Shenandoah
Expand Down