< prev index next >
test/compiler/macronodes/TestEliminateAllocationPhi.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 23,36 ****
/*
* @test
* @bug 8046698
* @summary PhiNode inserted between AllocateNode and Initialization node confuses allocation elimination
! * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestEliminateAllocationPhi
! *
*/
public class TestEliminateAllocationPhi {
// This will return I when called from m(0 and once optimized will
// go away but this will confuse escape analysis in m(): it will
// find I as non escaping but non scalar replaceable. In its own
--- 23,38 ----
/*
* @test
* @bug 8046698
* @summary PhiNode inserted between AllocateNode and Initialization node confuses allocation elimination
! * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
! * compiler.macronodes.TestEliminateAllocationPhi
*/
+ package compiler.macronodes;
+
public class TestEliminateAllocationPhi {
// This will return I when called from m(0 and once optimized will
// go away but this will confuse escape analysis in m(): it will
// find I as non escaping but non scalar replaceable. In its own
< prev index next >