Mon, 21 Oct 2013 09:21:41 +0400
8026865: [TESTBUG] 'compiler/print/PrintInlining.java' should specify -XX:+UnlockDiagnosticVMOptions
Reviewed-by: twisti, iveresov
kvn@5763 | 1 | /* |
kvn@5763 | 2 | * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
kvn@5763 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
kvn@5763 | 4 | * |
kvn@5763 | 5 | * This code is free software; you can redistribute it and/or modify it |
kvn@5763 | 6 | * under the terms of the GNU General Public License version 2 only, as |
kvn@5763 | 7 | * published by the Free Software Foundation. |
kvn@5763 | 8 | * |
kvn@5763 | 9 | * This code is distributed in the hope that it will be useful, but WITHOUT |
kvn@5763 | 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
kvn@5763 | 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
kvn@5763 | 12 | * version 2 for more details (a copy is included in the LICENSE file that |
kvn@5763 | 13 | * accompanied this code). |
kvn@5763 | 14 | * |
kvn@5763 | 15 | * You should have received a copy of the GNU General Public License version |
kvn@5763 | 16 | * 2 along with this work; if not, write to the Free Software Foundation, |
kvn@5763 | 17 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
kvn@5763 | 18 | * |
kvn@5763 | 19 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
kvn@5763 | 20 | * or visit www.oracle.com if you need additional information or have any |
kvn@5763 | 21 | * questions. |
kvn@5763 | 22 | */ |
kvn@5763 | 23 | |
kvn@5763 | 24 | /* |
kvn@5763 | 25 | * @test |
kvn@5763 | 26 | * @bug 8022585 |
kvn@5763 | 27 | * @summary VM crashes when ran with -XX:+PrintInlining |
iignatyev@5985 | 28 | * @run main/othervm -Xcomp -XX:+UnlockDiagnosticVMOptions -XX:+PrintInlining PrintInlining |
kvn@5763 | 29 | * |
kvn@5763 | 30 | */ |
kvn@5763 | 31 | |
kvn@5763 | 32 | public class PrintInlining { |
kvn@5763 | 33 | public static void main(String[] args) { |
kvn@5763 | 34 | System.out.println("Passed"); |
kvn@5763 | 35 | } |
kvn@5763 | 36 | } |