Skip to content

Commit 1ea6463

Browse files
committedAug 30, 2023
8314835: gtest wrappers should be marked as flagless
Reviewed-by: dholmes, stuefe
1 parent 93e82c0 commit 1ea6463

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed
 

‎test/hotspot/jtreg/gtest/AsyncLogGtest.java

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
3+
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
34
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
45
*
56
* This code is free software; you can redistribute it and/or modify it
@@ -33,6 +34,7 @@
3334
* @library /test/lib
3435
* @modules java.base/jdk.internal.misc
3536
* java.xml
37+
* @requires vm.flagless
3638
* @run main/native GTestWrapper --gtest_filter=AsyncLogTest* -Xlog:async
3739
* @run main/native GTestWrapper --gtest_filter=Log*Test* -Xlog:async
3840
*/

‎test/hotspot/jtreg/gtest/NMTGtests.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2021, 2023, Oracle and/or its affiliates. All rights reserved.
33
* Copyright (c) 2021 SAP SE. All rights reserved.
44
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
55
*
@@ -32,6 +32,7 @@
3232
* @library /test/lib
3333
* @modules java.base/jdk.internal.misc
3434
* java.xml
35+
* @requires vm.flagless
3536
* @run main/native GTestWrapper --gtest_filter=NMT*:os* -XX:NativeMemoryTracking=off
3637
*/
3738

@@ -40,6 +41,7 @@
4041
* @library /test/lib
4142
* @modules java.base/jdk.internal.misc
4243
* java.xml
44+
* @requires vm.flagless
4345
* @run main/native GTestWrapper --gtest_filter=NMT*:os* -XX:NativeMemoryTracking=summary
4446
*/
4547

@@ -48,5 +50,6 @@
4850
* @library /test/lib
4951
* @modules java.base/jdk.internal.misc
5052
* java.xml
53+
* @requires vm.flagless
5154
* @run main/native GTestWrapper --gtest_filter=NMT*:os* -XX:NativeMemoryTracking=detail
5255
*/

‎test/hotspot/jtreg/gtest/NativeHeapTrimmerGtest.java

+1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@
2828
* @library /test/lib
2929
* @modules java.base/jdk.internal.misc
3030
* java.xml
31+
* @requires vm.flagless
3132
* @run main/native GTestWrapper --gtest_filter=os.trim* -Xlog:trimnative -XX:+UnlockExperimentalVMOptions -XX:TrimNativeHeapInterval=100
3233
*/

0 commit comments

Comments
 (0)
Please sign in to comment.