Skip to content

Commit 9e76909

Browse files
committedAug 4, 2021
8271824: mark hotspot runtime/CompressedOops tests which ignore external VM flags
Reviewed-by: dholmes
1 parent e49b7d9 commit 9e76909

5 files changed

+8
-3
lines changed
 

‎test/hotspot/jtreg/runtime/CompressedOops/CompressedClassPointers.java

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* @bug 8024927
2727
* @summary Testing address of compressed class pointer space as best as possible.
2828
* @requires vm.bits == 64 & !vm.graal.enabled
29+
* @requires vm.flagless
2930
* @library /test/lib
3031
* @modules java.base/jdk.internal.misc
3132
* java.management

‎test/hotspot/jtreg/runtime/CompressedOops/CompressedClassSpaceSize.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -26,6 +26,7 @@
2626
* @bug 8022865
2727
* @summary Tests for the -XX:CompressedClassSpaceSize command line option
2828
* @requires vm.bits == 64 & vm.opt.final.UseCompressedOops == true
29+
* @requires vm.flagless
2930
* @library /test/lib
3031
* @modules java.base/jdk.internal.misc
3132
* java.management

‎test/hotspot/jtreg/runtime/CompressedOops/CompressedKlassPointerAndOops.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2013, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@
2929
* @modules java.base/jdk.internal.misc
3030
* java.management
3131
* @requires vm.bits == 64
32+
* @requires vm.flagless
3233
* @run driver CompressedKlassPointerAndOops
3334
*/
3435

‎test/hotspot/jtreg/runtime/CompressedOops/ObjectAlignment.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -25,6 +25,7 @@
2525
* @test
2626
* @bug 8022865
2727
* @summary Tests for the -XX:ObjectAlignmentInBytes command line option
28+
* @requires vm.flagless
2829
* @library /test/lib
2930
* @modules java.base/jdk.internal.misc
3031
* java.management

‎test/hotspot/jtreg/runtime/CompressedOops/UseCompressedOops.java

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
* @test
2626
* @bug 8022865
2727
* @summary Tests for different combination of UseCompressedOops options
28+
* @requires vm.flagless
2829
* @library /test/lib
2930
* @modules java.base/jdk.internal.misc
3031
* java.management

0 commit comments

Comments
 (0)
Please sign in to comment.