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

Reviewed-by: chagedorn, jiefu, neliasso
  • Loading branch information
TobiHartmann committed Aug 26, 2021
1 parent 49b2789 commit 9166ba37b631aa7ae641488f6167cdbd7fcdff00
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 9166ba3

@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.