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

Reviewed-by: kvn
This commit is contained in:
Igor Ignatyev 2021-04-28 20:47:57 +00:00
parent 9df6cc7cc2
commit f75dd80254
6 changed files with 12 additions and 6 deletions

View File

@ -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
@ -32,15 +32,16 @@ import jdk.test.lib.process.ProcessTools;
* @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",

View File

@ -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.
*
@ -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;

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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