Skip to content

Commit 4f4c3ce

Browse files
author
SendaoYan
committed
8347038: [JMH] jdk.incubator.vector.SpiltReplicate fails NoClassDefFoundError
Backport-of: 4d8fb80732fd17352c36254c6dfc1be5dbfbacf1
1 parent eb82472 commit 4f4c3ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/micro/org/openjdk/bench/jdk/incubator/vector/SpiltReplicate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2022, 2025, 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
@@ -31,7 +31,7 @@
3131

3232
@BenchmarkMode(Mode.AverageTime)
3333
@OutputTimeUnit(TimeUnit.NANOSECONDS)
34-
@Fork(1)
34+
@Fork(value=1, jvmArgs={"--add-modules=jdk.incubator.vector"})
3535
public class SpiltReplicate {
3636
@CompilerControl(CompilerControl.Mode.DONT_INLINE)
3737
public long broadcastInt() {

0 commit comments

Comments
 (0)