Skip to content
Permalink
Browse files
8266153: mark hotspot compiler/onSpinWait tests which ignore VM flags
Reviewed-by: kvn
  • Loading branch information
iignatev committed Apr 27, 2021
1 parent eeddb30 commit 30b13540855dfdb9b39695eb8218b13e64b34894
Showing with 8 additions and 4 deletions.
  1. +4 −2 test/hotspot/jtreg/compiler/onSpinWait/TestOnSpinWait.java
  2. +4 −2 test/hotspot/jtreg/compiler/onSpinWait/TestOnSpinWaitC1.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright 2016 Azul Systems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -27,8 +27,10 @@
* @summary (x86 only) checks that java.lang.Thread.onSpinWait is intrinsified
* @bug 8147844
* @library /test/lib
* @modules java.base/jdk.internal.misc
*
* @requires vm.flagless
* @requires os.arch=="x86" | os.arch=="amd64" | os.arch=="x86_64"
*
* @run driver compiler.onSpinWait.TestOnSpinWait
*/

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright 2016 Azul Systems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -27,9 +27,11 @@
* @summary (x86 only) checks that java.lang.Thread.onSpinWait is intrinsified
* @bug 8147844
* @library /test/lib
* @modules java.base/jdk.internal.misc
*
* @requires vm.flagless
* @requires os.arch=="x86" | os.arch=="amd64" | os.arch=="x86_64"
* @requires vm.compiler1.enabled
*
* @run driver compiler.onSpinWait.TestOnSpinWaitC1
*/

1 comment on commit 30b1354

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 30b1354 Apr 27, 2021

Please sign in to comment.