Mercurial > hg > graal-jvmci-8
annotate test/runtime/handlerInTry/IsolatedHandlerInTry.jasm @ 24234:ea6f94ab283b default tip
Added tag jvmci-0.36 for changeset 8128b98d4736
author | Gilles Duboscq <gilles.m.duboscq@oracle.com> |
---|---|
date | Mon, 18 Sep 2017 18:49:45 +0200 |
parents | 695017a614d5 |
children |
rev | line source |
---|---|
22893
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
1 /* |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
4 * |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
5 * This code is free software; you can redistribute it and/or modify it |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
6 * under the terms of the GNU General Public License version 2 only, as |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
7 * published by the Free Software Foundation. |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
8 * |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
12 * version 2 for more details (a copy is included in the LICENSE file that |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
13 * accompanied this code). |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
14 * |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
15 * You should have received a copy of the GNU General Public License version |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
16 * 2 along with this work; if not, write to the Free Software Foundation, |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
18 * |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
20 * or visit www.oracle.com if you need additional information or have any |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
21 * questions. |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
22 */ |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
23 |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
24 /* |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
25 * IsolatedHandlerInTry contains a try block in a ctor whose handler is inside |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
26 * the same try block but the handler can only be reached if an exception |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
27 * occurs. The handler does a return. So, a VerifyException should be thrown. |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
28 * The try block starts at line 77 (try t2;) and ends at line 113 (endtry t2;). |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
29 * Its handler starts at line 107 (catch t2 #0;). The handler can only be reached |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
30 * by exception because of the athrow at line 106. |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
31 */ |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
32 super public class IsolatedHandlerInTry |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
33 version 51:0 |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
34 { |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
35 |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
36 public static final synthetic Field ___transactionFactory_2002349702336125:"Ljava/lang/Object;"; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
37 |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
38 public Method "<init>":"(Ljava/lang/Object;)V" |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
39 stack 5 locals 5 |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
40 { |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
41 invokestatic Method ThreadLocalTransaction.getThreadLocalTransaction:"()Ljava/lang/Object;"; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
42 checkcast class java/lang/Object; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
43 astore_2; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
44 aload_2; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
45 invokestatic Method TransactionLogicDonor.isActiveTransaction:"(Ljava/lang/Object;)Z"; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
46 ifeq L21; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
47 aload_0; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
48 aload_1; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
49 aload_2; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
50 invokespecial Method "<init>":"(Ljava/lang/Object;Ljava/lang/Object;)V"; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
51 return; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
52 L21: stack_frame_type append; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
53 locals_map class java/lang/Object; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
54 aload_2; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
55 getstatic Field ___transactionFactory_2002349702336125:"Ljava/lang/Object;"; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
56 invokestatic Method TransactionLogicDonor.createTransaction:"(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
57 astore_2; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
58 aload_2; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
59 iconst_1; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
60 pop; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
61 aload_2; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
62 invokestatic Method ThreadLocalTransaction.setThreadLocalTransaction:"(Ljava/lang/Object;)V"; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
63 try t0, t1; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
64 aload_0; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
65 aload_1; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
66 aload_2; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
67 invokespecial Method "<init>":"(Ljava/lang/Object;Ljava/lang/Object;)V"; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
68 aload_2; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
69 pop; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
70 aconst_null; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
71 astore_2; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
72 endtry t0, t1; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
73 invokestatic Method ThreadLocalTransaction.clearThreadLocalTransaction:"()V"; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
74 pop; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
75 goto L107; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
76 catch t0 java/lang/Throwable; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
77 try t2; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
78 stack_frame_type full; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
79 locals_map bogus, class java/lang/Object, class java/lang/Object; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
80 stack_map class java/lang/Throwable; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
81 astore_3; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
82 aload_2; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
83 pop; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
84 aload_3; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
85 instanceof class ControlFlowError; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
86 ifeq L82; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
87 new class java/lang/NullPointerException; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
88 dup; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
89 invokespecial Method java/lang/NullPointerException."<init>":"()V"; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
90 athrow; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
91 L82: stack_frame_type append; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
92 locals_map class java/lang/Throwable; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
93 aload_3; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
94 instanceof class java/lang/Error; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
95 ifeq L94; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
96 aload_3; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
97 checkcast class java/lang/Error; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
98 athrow; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
99 L94: stack_frame_type same; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
100 aload_3; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
101 checkcast class java/lang/Exception; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
102 catch t1 #0; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
103 stack_frame_type full; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
104 locals_map bogus, class java/lang/Object, class java/lang/Object; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
105 stack_map class java/lang/Throwable; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
106 athrow; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
107 catch t2 #0; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
108 stack_frame_type full; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
109 locals_map bogus, class java/lang/Object, class java/lang/Object; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
110 stack_map class java/lang/Throwable; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
111 astore 4; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
112 return; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
113 endtry t2; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
114 stack_frame_type full; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
115 locals_map bogus, class java/lang/Object, class java/lang/Object, class java/lang/Object; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
116 stack_map class java/lang/Throwable; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
117 invokestatic Method ThreadLocalTransaction.clearThreadLocalTransaction:"()V"; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
118 athrow; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
119 L107: stack_frame_type full; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
120 locals_map class IsolatedHandlerInTry, class java/lang/Object, null; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
121 return; |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
122 } |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
123 |
695017a614d5
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
124 } // end Class IsolatedHandlerInTry |