< prev index next >
test/compiler/c2/Test6843752.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 23,37 ****
/*
* @test
* @bug 6843752
* @summary missing code for an anti-dependent Phi in GCM
! * @run main/othervm -Xbatch Test
*/
! public class Test {
Item list;
static class Item {
public Item next;
public Item prev;
--- 23,40 ----
/*
* @test
* @bug 6843752
* @summary missing code for an anti-dependent Phi in GCM
! *
! * @run main/othervm -Xbatch compiler.c2.Test6843752
*/
! package compiler.c2;
+ public class Test6843752 {
+
Item list;
static class Item {
public Item next;
public Item prev;
*** 95,105 ****
list = null;
}
static public void main(String[] args) {
int caseCnt = 0;
! Test bj = new Test();
try {
for (; caseCnt < 500000;) {
int numItems = (++caseCnt % 2);
if ((caseCnt % 64) == 0) {
numItems = 5;
--- 98,108 ----
list = null;
}
static public void main(String[] args) {
int caseCnt = 0;
! Test6843752 bj = new Test6843752();
try {
for (; caseCnt < 500000;) {
int numItems = (++caseCnt % 2);
if ((caseCnt % 64) == 0) {
numItems = 5;
< prev index next >