hotspot/test/compiler/arraycopy/TestMissingControl.java
changeset 40059 c2304140ed64
parent 26180 2fbed11af70e
equal deleted inserted replaced
40058:b4441f6cfe79 40059:c2304140ed64
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 8055153
    26  * @bug 8055153
    27  * @summary missing control on LoadRange and LoadKlass when array copy macro node is expanded
    27  * @summary missing control on LoadRange and LoadKlass when array copy macro node is expanded
    28  * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:-TieredCompilation TestMissingControl
    28  *
       
    29  * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:-TieredCompilation
       
    30  *                   compiler.arraycopy.TestMissingControl
    29  *
    31  *
    30  */
    32  */
       
    33 
       
    34 package compiler.arraycopy;
       
    35 
    31 public class TestMissingControl {
    36 public class TestMissingControl {
    32 
    37 
    33     static int[] m1(int[] a2) {
    38     static int[] m1(int[] a2) {
    34         int[] a1 = new int[10];
    39         int[] a1 = new int[10];
    35         System.arraycopy(a1, 0, a2, 0, 10);
    40         System.arraycopy(a1, 0, a2, 0, 10);