Skip to content
Permalink
Browse files
8272973: Incorrect compile command used by TestIllegalArrayCopyBefore…
…InfiniteLoop

Backport-of: 9166ba37b631aa7ae641488f6167cdbd7fcdff00
  • Loading branch information
shipilev committed Sep 9, 2021
1 parent f1c8fa6 commit 6a7542fed04f4f161e023dde7b04643e39a3ef0b
Showing 1 changed file with 2 additions and 2 deletions.
@@ -27,7 +27,7 @@
* @requires vm.compiler2.enabled
* @summary ArrayCopy with negative index before infinite loop
* @run main/othervm -Xbatch -XX:-TieredCompilation
* -XX:CompileCommand=compileonly,"*TestIllegalArrayCopyBeforeInfiniteLoop::foo"
* -XX:CompileCommand=compileonly,compiler.arraycopy.TestIllegalArrayCopyBeforeInfiniteLoop::foo
* compiler.arraycopy.TestIllegalArrayCopyBeforeInfiniteLoop
*/

@@ -38,7 +38,7 @@
public class TestIllegalArrayCopyBeforeInfiniteLoop {
private static char src[] = new char[10];
private static int count = 0;
private static final int iter = 10_000;
private static final int iter = 20_000;

public static void main(String[] args) throws Exception {
for (int i = 0; i < iter; ++i) {

1 comment on commit 6a7542f

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.