comparison test/compiler/6795161/Test.java @ 2473:11427f216063

7009276: Add -XX:+IgnoreUnrecognizedVMOptions to several tests Reviewed-by: kvn
author dholmes
date Mon, 04 Apr 2011 18:15:55 -0400
parents c18cbe5936b8
children 7369298bec7e
comparison
equal deleted inserted replaced
2472:7144a1d6e0a9 2473:11427f216063
1 /* 1 /*
2 * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
24 24
25 /* 25 /*
26 * @test 26 * @test
27 * @bug 6795161 27 * @bug 6795161
28 * @summary Escape analysis leads to data corruption 28 * @summary Escape analysis leads to data corruption
29 * @run main/othervm -server -Xcomp -XX:CompileOnly=Test -XX:+DoEscapeAnalysis Test 29 * @run main/othervm -server -XX:+IgnoreUnrecognizedVMOptions -Xcomp -XX:CompileOnly=Test -XX:+DoEscapeAnalysis Test
30 */ 30 */
31 31
32 class Test_Class_1 { 32 class Test_Class_1 {
33 static String var_1; 33 static String var_1;
34 34