< prev index next >

test/compiler/arraycopy/TestInstanceCloneAsLoadsStores.java

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

*** 23,38 **** /* * @test * @bug 6700100 8156760 * @summary small instance clone as loads/stores ! * @compile TestInstanceCloneAsLoadsStores.java TestInstanceCloneUtils.java ! * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:CompileCommand=dontinline,TestInstanceCloneAsLoadsStores::m* TestInstanceCloneAsLoadsStores ! * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:CompileCommand=dontinline,TestInstanceCloneAsLoadsStores::m* -XX:+IgnoreUnrecognizedVMOptions -XX:+StressArrayCopyMacroNode TestInstanceCloneAsLoadsStores ! * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:CompileCommand=dontinline,TestInstanceCloneAsLoadsStores::m* -XX:+IgnoreUnrecognizedVMOptions -XX:-ReduceInitialCardMarks TestInstanceCloneAsLoadsStores */ public class TestInstanceCloneAsLoadsStores extends TestInstanceCloneUtils { // Should be compiled as loads/stores static Object m1(D src) throws CloneNotSupportedException { return src.clone(); --- 23,49 ---- /* * @test * @bug 6700100 8156760 * @summary small instance clone as loads/stores ! * @library / ! * ! * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement ! * -XX:CompileCommand=dontinline,compiler.arraycopy.TestInstanceCloneAsLoadsStores::m* ! * compiler.arraycopy.TestInstanceCloneAsLoadsStores ! * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement ! * -XX:CompileCommand=dontinline,compiler.arraycopy.TestInstanceCloneAsLoadsStores::m* ! * -XX:+IgnoreUnrecognizedVMOptions -XX:+StressArrayCopyMacroNode ! * compiler.arraycopy.TestInstanceCloneAsLoadsStores ! * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement ! * -XX:CompileCommand=dontinline,compiler.arraycopy.TestInstanceCloneAsLoadsStores::m* ! * -XX:+IgnoreUnrecognizedVMOptions -XX:-ReduceInitialCardMarks ! * compiler.arraycopy.TestInstanceCloneAsLoadsStores */ + package compiler.arraycopy; + public class TestInstanceCloneAsLoadsStores extends TestInstanceCloneUtils { // Should be compiled as loads/stores static Object m1(D src) throws CloneNotSupportedException { return src.clone();
< prev index next >