< prev index next >
test/compiler/c2/Test7179138_1.java
Print this page
*** 23,37 ****
/*
* @test
* @bug 7179138
* @summary Incorrect result with String concatenation optimization
! * @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation Test7179138_1
*
* @author Skip Balk
*/
public class Test7179138_1 {
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_1
*
* @author Skip Balk
*/
+ package compiler.c2;
+
public class Test7179138_1 {
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 >