8266230: mark hotspot compiler/c2 tests which ignore VM flags
Reviewed-by: kvn
This commit is contained in:
parent
9df6cc7cc2
commit
f75dd80254
@ -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",
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user