< prev index next >
test/compiler/c2/Test7179138_2.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 23,37 ****
/*
* @test
* @bug 7179138
* @summary Incorrect result with String concatenation optimization
- * @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation Test7179138_2
*
* @author Skip Balk
*/
public class Test7179138_2 {
public static void main(String[] args) throws Exception {
System.out.println("Java Version: " + System.getProperty("java.vm.version"));
long[] durations = new long[60];
for (int i = 0; i < 100000; i++) {
--- 23,41 ----
/*
* @test
* @bug 7179138
* @summary Incorrect result with String concatenation optimization
*
+ * @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation
+ * compiler.c2.Test7179138_2
+ *
* @author Skip Balk
*/
+ package compiler.c2;
+
public class Test7179138_2 {
public static void main(String[] args) throws Exception {
System.out.println("Java Version: " + System.getProperty("java.vm.version"));
long[] durations = new long[60];
for (int i = 0; i < 100000; i++) {
< prev index next >