< prev index next >
test/compiler/arraycopy/TestEliminateArrayCopy.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 23,37 ****
/*
* @test
* @bug 8076188
* @summary arraycopy to non escaping destination may be eliminated
! * @compile TestEliminateArrayCopy.java TestArrayCopyUtils.java
! * @run main/othervm -ea -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:CompileCommand=dontinline,TestEliminateArrayCopy*::m* TestEliminateArrayCopy
*
*/
public class TestEliminateArrayCopy {
static class CloneTests extends TestInstanceCloneUtils {
// object allocation and ArrayCopyNode should be eliminated
static void m1(E src) throws CloneNotSupportedException {
--- 23,42 ----
/*
* @test
* @bug 8076188
* @summary arraycopy to non escaping destination may be eliminated
! * @library /
*
+ * @run main/othervm -ea -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ * -XX:CompileCommand=dontinline,compiler.arraycopy.TestEliminateArrayCopy*::m*
+ * compiler.arraycopy.TestEliminateArrayCopy
+ *
*/
+ package compiler.arraycopy;
+
public class TestEliminateArrayCopy {
static class CloneTests extends TestInstanceCloneUtils {
// object allocation and ArrayCopyNode should be eliminated
static void m1(E src) throws CloneNotSupportedException {
< prev index next >