Mercurial > hg > truffle
annotate test/compiler/rtm/cli/TestRTMRetryCountOption.java @ 19322:2945ae455a1c
don't record method dependencies in an inlinee if the caller doesn't want them
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 12 Feb 2015 17:14:53 +0100 |
parents | 0af0caeb6a3a |
children | cabe05c85665 |
rev | line source |
---|---|
17882
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
1 /* |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
2 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
4 * |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
5 * This code is free software; you can redistribute it and/or modify it |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
6 * under the terms of the GNU General Public License version 2 only, as |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
7 * published by the Free Software Foundation. |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
8 * |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
12 * version 2 for more details (a copy is included in the LICENSE file that |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
13 * accompanied this code). |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
14 * |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
15 * You should have received a copy of the GNU General Public License version |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
16 * 2 along with this work; if not, write to the Free Software Foundation, |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
18 * |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
20 * or visit www.oracle.com if you need additional information or have any |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
21 * questions. |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
22 * |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
23 */ |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
24 |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
25 /** |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
26 * @test |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
27 * @bug 8031320 |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
28 * @summary Verify processing of RTMRetryCount option. |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
29 * @library /testlibrary |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
30 * @build TestRTMRetryCountOption |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
31 * @run main/othervm TestRTMRetryCountOption |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
32 */ |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
33 |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
34 public class TestRTMRetryCountOption extends RTMGenericCommandLineOptionTest { |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
35 private static final String DEFAULT_VALUE = "5"; |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
36 |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
37 private TestRTMRetryCountOption() { |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
38 super(Boolean.TRUE::booleanValue, "RTMRetryCount", false, true, |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
39 TestRTMRetryCountOption.DEFAULT_VALUE, |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
40 "0", "10", "100", "1000"); |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
41 } |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
42 |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
43 public static void main(String args[]) throws Throwable { |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
44 new TestRTMRetryCountOption().test(); |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
45 } |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
46 } |