Skip to content

Commit ba71fc0

Browse files
committed
8325659: Normalize Random usage by incubator vector tests
Backport-of: 92171b8c952420b3dc8fcd0bcb7ff55228ea9849
1 parent a1acef7 commit ba71fc0

File tree

69 files changed

+469
-281
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+469
-281
lines changed

test/jdk/jdk/incubator/vector/AbstractVectorTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2024, 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
@@ -35,11 +35,13 @@
3535
import java.util.stream.Stream;
3636
import java.util.stream.Collectors;
3737

38+
import jdk.test.lib.Utils;
39+
3840
import org.testng.Assert;
3941

4042
public class AbstractVectorTest {
4143

42-
static final Random RAND = new Random(Integer.getInteger("jdk.incubator.vector.test.random-seed", 1337));
44+
static final Random RAND = Utils.getRandomInstance();
4345

4446
interface ToBoolF {
4547
boolean apply(int i);

test/jdk/jdk/incubator/vector/Byte128VectorLoadStoreTests.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323

2424
/*
2525
* @test
26+
* @key randomness
27+
*
28+
* @library /test/lib
2629
* @modules jdk.incubator.foreign jdk.incubator.vector java.base/jdk.internal.vm.annotation
2730
* @run testng/othervm -XX:-TieredCompilation Byte128VectorLoadStoreTests
2831
*

test/jdk/jdk/incubator/vector/Byte128VectorTests.java

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2024, 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
@@ -23,6 +23,9 @@
2323

2424
/*
2525
* @test
26+
* @key randomness
27+
*
28+
* @library /test/lib
2629
* @modules jdk.incubator.vector
2730
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Byte128VectorTests
2831
*/
@@ -4253,7 +4256,7 @@ static byte[] sliceUnary(byte[] a, int origin, int idx) {
42534256
static void sliceUnaryByte128VectorTests(IntFunction<byte[]> fa) {
42544257
byte[] a = fa.apply(SPECIES.length());
42554258
byte[] r = new byte[a.length];
4256-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4259+
int origin = RAND.nextInt(SPECIES.length());
42574260
for (int ic = 0; ic < INVOC_COUNT; ic++) {
42584261
for (int i = 0; i < a.length; i += SPECIES.length()) {
42594262
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4281,7 +4284,7 @@ static void sliceBinaryByte128VectorTestsBinary(IntFunction<byte[]> fa, IntFunct
42814284
byte[] a = fa.apply(SPECIES.length());
42824285
byte[] b = fb.apply(SPECIES.length());
42834286
byte[] r = new byte[a.length];
4284-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4287+
int origin = RAND.nextInt(SPECIES.length());
42854288
for (int ic = 0; ic < INVOC_COUNT; ic++) {
42864289
for (int i = 0; i < a.length; i += SPECIES.length()) {
42874290
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4314,7 +4317,7 @@ static void sliceByte128VectorTestsMasked(IntFunction<byte[]> fa, IntFunction<by
43144317
VectorMask<Byte> vmask = VectorMask.fromArray(SPECIES, mask, 0);
43154318

43164319
byte[] r = new byte[a.length];
4317-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4320+
int origin = RAND.nextInt(SPECIES.length());
43184321
for (int ic = 0; ic < INVOC_COUNT; ic++) {
43194322
for (int i = 0; i < a.length; i += SPECIES.length()) {
43204323
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4342,7 +4345,7 @@ static byte[] unsliceUnary(byte[] a, int origin, int idx) {
43424345
static void unsliceUnaryByte128VectorTests(IntFunction<byte[]> fa) {
43434346
byte[] a = fa.apply(SPECIES.length());
43444347
byte[] r = new byte[a.length];
4345-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4348+
int origin = RAND.nextInt(SPECIES.length());
43464349
for (int ic = 0; ic < INVOC_COUNT; ic++) {
43474350
for (int i = 0; i < a.length; i += SPECIES.length()) {
43484351
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4379,8 +4382,8 @@ static void unsliceBinaryByte128VectorTestsBinary(IntFunction<byte[]> fa, IntFun
43794382
byte[] a = fa.apply(SPECIES.length());
43804383
byte[] b = fb.apply(SPECIES.length());
43814384
byte[] r = new byte[a.length];
4382-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4383-
int part = (new java.util.Random()).nextInt(2);
4385+
int origin = RAND.nextInt(SPECIES.length());
4386+
int part = RAND.nextInt(2);
43844387
for (int ic = 0; ic < INVOC_COUNT; ic++) {
43854388
for (int i = 0; i < a.length; i += SPECIES.length()) {
43864389
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4435,8 +4438,8 @@ static void unsliceByte128VectorTestsMasked(IntFunction<byte[]> fa, IntFunction<
44354438
boolean[] mask = fm.apply(SPECIES.length());
44364439
VectorMask<Byte> vmask = VectorMask.fromArray(SPECIES, mask, 0);
44374440
byte[] r = new byte[a.length];
4438-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4439-
int part = (new java.util.Random()).nextInt(2);
4441+
int origin = RAND.nextInt(SPECIES.length());
4442+
int part = RAND.nextInt(2);
44404443
for (int ic = 0; ic < INVOC_COUNT; ic++) {
44414444
for (int i = 0; i < a.length; i += SPECIES.length()) {
44424445
ByteVector av = ByteVector.fromArray(SPECIES, a, i);

test/jdk/jdk/incubator/vector/Byte256VectorLoadStoreTests.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323

2424
/*
2525
* @test
26+
* @key randomness
27+
*
28+
* @library /test/lib
2629
* @modules jdk.incubator.foreign jdk.incubator.vector java.base/jdk.internal.vm.annotation
2730
* @run testng/othervm -XX:-TieredCompilation Byte256VectorLoadStoreTests
2831
*

test/jdk/jdk/incubator/vector/Byte256VectorTests.java

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2024, 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
@@ -23,6 +23,9 @@
2323

2424
/*
2525
* @test
26+
* @key randomness
27+
*
28+
* @library /test/lib
2629
* @modules jdk.incubator.vector
2730
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Byte256VectorTests
2831
*/
@@ -4253,7 +4256,7 @@ static byte[] sliceUnary(byte[] a, int origin, int idx) {
42534256
static void sliceUnaryByte256VectorTests(IntFunction<byte[]> fa) {
42544257
byte[] a = fa.apply(SPECIES.length());
42554258
byte[] r = new byte[a.length];
4256-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4259+
int origin = RAND.nextInt(SPECIES.length());
42574260
for (int ic = 0; ic < INVOC_COUNT; ic++) {
42584261
for (int i = 0; i < a.length; i += SPECIES.length()) {
42594262
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4281,7 +4284,7 @@ static void sliceBinaryByte256VectorTestsBinary(IntFunction<byte[]> fa, IntFunct
42814284
byte[] a = fa.apply(SPECIES.length());
42824285
byte[] b = fb.apply(SPECIES.length());
42834286
byte[] r = new byte[a.length];
4284-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4287+
int origin = RAND.nextInt(SPECIES.length());
42854288
for (int ic = 0; ic < INVOC_COUNT; ic++) {
42864289
for (int i = 0; i < a.length; i += SPECIES.length()) {
42874290
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4314,7 +4317,7 @@ static void sliceByte256VectorTestsMasked(IntFunction<byte[]> fa, IntFunction<by
43144317
VectorMask<Byte> vmask = VectorMask.fromArray(SPECIES, mask, 0);
43154318

43164319
byte[] r = new byte[a.length];
4317-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4320+
int origin = RAND.nextInt(SPECIES.length());
43184321
for (int ic = 0; ic < INVOC_COUNT; ic++) {
43194322
for (int i = 0; i < a.length; i += SPECIES.length()) {
43204323
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4342,7 +4345,7 @@ static byte[] unsliceUnary(byte[] a, int origin, int idx) {
43424345
static void unsliceUnaryByte256VectorTests(IntFunction<byte[]> fa) {
43434346
byte[] a = fa.apply(SPECIES.length());
43444347
byte[] r = new byte[a.length];
4345-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4348+
int origin = RAND.nextInt(SPECIES.length());
43464349
for (int ic = 0; ic < INVOC_COUNT; ic++) {
43474350
for (int i = 0; i < a.length; i += SPECIES.length()) {
43484351
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4379,8 +4382,8 @@ static void unsliceBinaryByte256VectorTestsBinary(IntFunction<byte[]> fa, IntFun
43794382
byte[] a = fa.apply(SPECIES.length());
43804383
byte[] b = fb.apply(SPECIES.length());
43814384
byte[] r = new byte[a.length];
4382-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4383-
int part = (new java.util.Random()).nextInt(2);
4385+
int origin = RAND.nextInt(SPECIES.length());
4386+
int part = RAND.nextInt(2);
43844387
for (int ic = 0; ic < INVOC_COUNT; ic++) {
43854388
for (int i = 0; i < a.length; i += SPECIES.length()) {
43864389
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4435,8 +4438,8 @@ static void unsliceByte256VectorTestsMasked(IntFunction<byte[]> fa, IntFunction<
44354438
boolean[] mask = fm.apply(SPECIES.length());
44364439
VectorMask<Byte> vmask = VectorMask.fromArray(SPECIES, mask, 0);
44374440
byte[] r = new byte[a.length];
4438-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4439-
int part = (new java.util.Random()).nextInt(2);
4441+
int origin = RAND.nextInt(SPECIES.length());
4442+
int part = RAND.nextInt(2);
44404443
for (int ic = 0; ic < INVOC_COUNT; ic++) {
44414444
for (int i = 0; i < a.length; i += SPECIES.length()) {
44424445
ByteVector av = ByteVector.fromArray(SPECIES, a, i);

test/jdk/jdk/incubator/vector/Byte512VectorLoadStoreTests.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323

2424
/*
2525
* @test
26+
* @key randomness
27+
*
28+
* @library /test/lib
2629
* @modules jdk.incubator.foreign jdk.incubator.vector java.base/jdk.internal.vm.annotation
2730
* @run testng/othervm -XX:-TieredCompilation Byte512VectorLoadStoreTests
2831
*

test/jdk/jdk/incubator/vector/Byte512VectorTests.java

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2024, 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
@@ -23,6 +23,9 @@
2323

2424
/*
2525
* @test
26+
* @key randomness
27+
*
28+
* @library /test/lib
2629
* @modules jdk.incubator.vector
2730
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Byte512VectorTests
2831
*/
@@ -4253,7 +4256,7 @@ static byte[] sliceUnary(byte[] a, int origin, int idx) {
42534256
static void sliceUnaryByte512VectorTests(IntFunction<byte[]> fa) {
42544257
byte[] a = fa.apply(SPECIES.length());
42554258
byte[] r = new byte[a.length];
4256-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4259+
int origin = RAND.nextInt(SPECIES.length());
42574260
for (int ic = 0; ic < INVOC_COUNT; ic++) {
42584261
for (int i = 0; i < a.length; i += SPECIES.length()) {
42594262
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4281,7 +4284,7 @@ static void sliceBinaryByte512VectorTestsBinary(IntFunction<byte[]> fa, IntFunct
42814284
byte[] a = fa.apply(SPECIES.length());
42824285
byte[] b = fb.apply(SPECIES.length());
42834286
byte[] r = new byte[a.length];
4284-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4287+
int origin = RAND.nextInt(SPECIES.length());
42854288
for (int ic = 0; ic < INVOC_COUNT; ic++) {
42864289
for (int i = 0; i < a.length; i += SPECIES.length()) {
42874290
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4314,7 +4317,7 @@ static void sliceByte512VectorTestsMasked(IntFunction<byte[]> fa, IntFunction<by
43144317
VectorMask<Byte> vmask = VectorMask.fromArray(SPECIES, mask, 0);
43154318

43164319
byte[] r = new byte[a.length];
4317-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4320+
int origin = RAND.nextInt(SPECIES.length());
43184321
for (int ic = 0; ic < INVOC_COUNT; ic++) {
43194322
for (int i = 0; i < a.length; i += SPECIES.length()) {
43204323
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4342,7 +4345,7 @@ static byte[] unsliceUnary(byte[] a, int origin, int idx) {
43424345
static void unsliceUnaryByte512VectorTests(IntFunction<byte[]> fa) {
43434346
byte[] a = fa.apply(SPECIES.length());
43444347
byte[] r = new byte[a.length];
4345-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4348+
int origin = RAND.nextInt(SPECIES.length());
43464349
for (int ic = 0; ic < INVOC_COUNT; ic++) {
43474350
for (int i = 0; i < a.length; i += SPECIES.length()) {
43484351
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4379,8 +4382,8 @@ static void unsliceBinaryByte512VectorTestsBinary(IntFunction<byte[]> fa, IntFun
43794382
byte[] a = fa.apply(SPECIES.length());
43804383
byte[] b = fb.apply(SPECIES.length());
43814384
byte[] r = new byte[a.length];
4382-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4383-
int part = (new java.util.Random()).nextInt(2);
4385+
int origin = RAND.nextInt(SPECIES.length());
4386+
int part = RAND.nextInt(2);
43844387
for (int ic = 0; ic < INVOC_COUNT; ic++) {
43854388
for (int i = 0; i < a.length; i += SPECIES.length()) {
43864389
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4435,8 +4438,8 @@ static void unsliceByte512VectorTestsMasked(IntFunction<byte[]> fa, IntFunction<
44354438
boolean[] mask = fm.apply(SPECIES.length());
44364439
VectorMask<Byte> vmask = VectorMask.fromArray(SPECIES, mask, 0);
44374440
byte[] r = new byte[a.length];
4438-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4439-
int part = (new java.util.Random()).nextInt(2);
4441+
int origin = RAND.nextInt(SPECIES.length());
4442+
int part = RAND.nextInt(2);
44404443
for (int ic = 0; ic < INVOC_COUNT; ic++) {
44414444
for (int i = 0; i < a.length; i += SPECIES.length()) {
44424445
ByteVector av = ByteVector.fromArray(SPECIES, a, i);

test/jdk/jdk/incubator/vector/Byte64VectorLoadStoreTests.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323

2424
/*
2525
* @test
26+
* @key randomness
27+
*
28+
* @library /test/lib
2629
* @modules jdk.incubator.foreign jdk.incubator.vector java.base/jdk.internal.vm.annotation
2730
* @run testng/othervm -XX:-TieredCompilation Byte64VectorLoadStoreTests
2831
*

test/jdk/jdk/incubator/vector/Byte64VectorTests.java

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2024, 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
@@ -23,6 +23,9 @@
2323

2424
/*
2525
* @test
26+
* @key randomness
27+
*
28+
* @library /test/lib
2629
* @modules jdk.incubator.vector
2730
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Byte64VectorTests
2831
*/
@@ -4253,7 +4256,7 @@ static byte[] sliceUnary(byte[] a, int origin, int idx) {
42534256
static void sliceUnaryByte64VectorTests(IntFunction<byte[]> fa) {
42544257
byte[] a = fa.apply(SPECIES.length());
42554258
byte[] r = new byte[a.length];
4256-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4259+
int origin = RAND.nextInt(SPECIES.length());
42574260
for (int ic = 0; ic < INVOC_COUNT; ic++) {
42584261
for (int i = 0; i < a.length; i += SPECIES.length()) {
42594262
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4281,7 +4284,7 @@ static void sliceBinaryByte64VectorTestsBinary(IntFunction<byte[]> fa, IntFuncti
42814284
byte[] a = fa.apply(SPECIES.length());
42824285
byte[] b = fb.apply(SPECIES.length());
42834286
byte[] r = new byte[a.length];
4284-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4287+
int origin = RAND.nextInt(SPECIES.length());
42854288
for (int ic = 0; ic < INVOC_COUNT; ic++) {
42864289
for (int i = 0; i < a.length; i += SPECIES.length()) {
42874290
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4314,7 +4317,7 @@ static void sliceByte64VectorTestsMasked(IntFunction<byte[]> fa, IntFunction<byt
43144317
VectorMask<Byte> vmask = VectorMask.fromArray(SPECIES, mask, 0);
43154318

43164319
byte[] r = new byte[a.length];
4317-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4320+
int origin = RAND.nextInt(SPECIES.length());
43184321
for (int ic = 0; ic < INVOC_COUNT; ic++) {
43194322
for (int i = 0; i < a.length; i += SPECIES.length()) {
43204323
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4342,7 +4345,7 @@ static byte[] unsliceUnary(byte[] a, int origin, int idx) {
43424345
static void unsliceUnaryByte64VectorTests(IntFunction<byte[]> fa) {
43434346
byte[] a = fa.apply(SPECIES.length());
43444347
byte[] r = new byte[a.length];
4345-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4348+
int origin = RAND.nextInt(SPECIES.length());
43464349
for (int ic = 0; ic < INVOC_COUNT; ic++) {
43474350
for (int i = 0; i < a.length; i += SPECIES.length()) {
43484351
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4379,8 +4382,8 @@ static void unsliceBinaryByte64VectorTestsBinary(IntFunction<byte[]> fa, IntFunc
43794382
byte[] a = fa.apply(SPECIES.length());
43804383
byte[] b = fb.apply(SPECIES.length());
43814384
byte[] r = new byte[a.length];
4382-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4383-
int part = (new java.util.Random()).nextInt(2);
4385+
int origin = RAND.nextInt(SPECIES.length());
4386+
int part = RAND.nextInt(2);
43844387
for (int ic = 0; ic < INVOC_COUNT; ic++) {
43854388
for (int i = 0; i < a.length; i += SPECIES.length()) {
43864389
ByteVector av = ByteVector.fromArray(SPECIES, a, i);
@@ -4435,8 +4438,8 @@ static void unsliceByte64VectorTestsMasked(IntFunction<byte[]> fa, IntFunction<b
44354438
boolean[] mask = fm.apply(SPECIES.length());
44364439
VectorMask<Byte> vmask = VectorMask.fromArray(SPECIES, mask, 0);
44374440
byte[] r = new byte[a.length];
4438-
int origin = (new java.util.Random()).nextInt(SPECIES.length());
4439-
int part = (new java.util.Random()).nextInt(2);
4441+
int origin = RAND.nextInt(SPECIES.length());
4442+
int part = RAND.nextInt(2);
44404443
for (int ic = 0; ic < INVOC_COUNT; ic++) {
44414444
for (int i = 0; i < a.length; i += SPECIES.length()) {
44424445
ByteVector av = ByteVector.fromArray(SPECIES, a, i);

test/jdk/jdk/incubator/vector/ByteMaxVectorLoadStoreTests.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323

2424
/*
2525
* @test
26+
* @key randomness
27+
*
28+
* @library /test/lib
2629
* @modules jdk.incubator.foreign jdk.incubator.vector java.base/jdk.internal.vm.annotation
2730
* @run testng/othervm --add-opens jdk.incubator.vector/jdk.incubator.vector=ALL-UNNAMED
2831
* -XX:-TieredCompilation ByteMaxVectorLoadStoreTests

0 commit comments

Comments
 (0)