< prev index next >

test/compiler/arraycopy/TestArrayCopyAsLoadsStores.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

*** 23,40 **** /* * @test * @bug 6912521 * @summary small array copy as loads/stores ! * @compile TestArrayCopyAsLoadsStores.java TestArrayCopyUtils.java ! * @run main/othervm -ea -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:CompileCommand=dontinline,TestArrayCopyAsLoadsStores::m* -XX:TypeProfileLevel=200 TestArrayCopyAsLoadsStores ! * @run main/othervm -ea -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:CompileCommand=dontinline,TestArrayCopyAsLoadsStores::m* -XX:+IgnoreUnrecognizedVMOptions -XX:+StressArrayCopyMacroNode -XX:TypeProfileLevel=200 TestArrayCopyAsLoadsStores * */ ! import java.util.*; public class TestArrayCopyAsLoadsStores extends TestArrayCopyUtils { // array clone should be compiled as loads/stores @Args(src=ArraySrc.SMALL) static A[] m1() throws CloneNotSupportedException { --- 23,49 ---- /* * @test * @bug 6912521 * @summary small array copy as loads/stores ! * @library / * + * @run main/othervm -ea -XX:-BackgroundCompilation -XX:-UseOnStackReplacement + * -XX:CompileCommand=dontinline,compiler.arraycopy.TestArrayCopyAsLoadsStores::m* + * -XX:TypeProfileLevel=200 + * compiler.arraycopy.TestArrayCopyAsLoadsStores + * @run main/othervm -ea -XX:-BackgroundCompilation -XX:-UseOnStackReplacement + * -XX:CompileCommand=dontinline,compiler.arraycopy.TestArrayCopyAsLoadsStores::m* + * -XX:TypeProfileLevel=200 + * -XX:+IgnoreUnrecognizedVMOptions -XX:+StressArrayCopyMacroNode + * compiler.arraycopy.TestArrayCopyAsLoadsStores */ ! package compiler.arraycopy; + import java.util.Arrays; + public class TestArrayCopyAsLoadsStores extends TestArrayCopyUtils { // array clone should be compiled as loads/stores @Args(src=ArraySrc.SMALL) static A[] m1() throws CloneNotSupportedException {
< prev index next >