public final class com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker
super_class: java.lang.Object
{
private final java.util.Collection<com.oracle.svm.hosted.meta.HostedMethod> methods;
descriptor: Ljava/util/Collection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Collection<Lcom/oracle/svm/hosted/meta/HostedMethod;>;
private final java.util.Deque<com.oracle.svm.hosted.meta.HostedMethod> methodPath;
descriptor: Ljava/util/Deque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Deque<Lcom/oracle/svm/hosted/meta/HostedMethod;>;
private final java.util.Deque<com.oracle.svm.hosted.meta.HostedMethod> methodImplPath;
descriptor: Ljava/util/Deque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Deque<Lcom/oracle/svm/hosted/meta/HostedMethod;>;
private void <init>(java.util.Collection<com.oracle.svm.hosted.meta.HostedMethod>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methods:Ljava/util/Collection;
2: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodPath:Ljava/util/Deque;
3: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodImplPath:Ljava/util/Deque;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/svm/hosted/code/MustNotSynchronizeAnnotationChecker;
0 5 1 methods Ljava/util/Collection<Lcom/oracle/svm/hosted/meta/HostedMethod;>;
Signature: (Ljava/util/Collection<Lcom/oracle/svm/hosted/meta/HostedMethod;>;)V
MethodParameters:
Name Flags
methods
public static void check(org.graalvm.compiler.debug.DebugContext, java.util.Collection<com.oracle.svm.hosted.meta.HostedMethod>);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;Ljava/util/Collection;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker
dup
aload 1
invokespecial com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.<init>:(Ljava/util/Collection;)V
astore 2
start local 2 1: aload 2
aload 0
invokevirtual com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.checkMethods:(Lorg/graalvm/compiler/debug/DebugContext;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 debug Lorg/graalvm/compiler/debug/DebugContext;
0 3 1 methods Ljava/util/Collection<Lcom/oracle/svm/hosted/meta/HostedMethod;>;
1 3 2 checker Lcom/oracle/svm/hosted/code/MustNotSynchronizeAnnotationChecker;
Signature: (Lorg/graalvm/compiler/debug/DebugContext;Ljava/util/Collection<Lcom/oracle/svm/hosted/meta/HostedMethod;>;)V
MethodParameters:
Name Flags
debug
methods
public void checkMethods(org.graalvm.compiler.debug.DebugContext);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methods:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 20
StackMap locals: com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker org.graalvm.compiler.debug.DebugContext top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.svm.hosted.meta.HostedMethod
astore 2
start local 2 2: aconst_null
astore 4
aconst_null
astore 5
3: aload 1
ldc "MustNotSynchronizeAnnotationChecker"
aload 2
getfield com.oracle.svm.hosted.meta.HostedMethod.compilationInfo:Lcom/oracle/svm/hosted/code/CompilationInfo;
getfield com.oracle.svm.hosted.code.CompilationInfo.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 2
aload 0
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 6
start local 6 4: aload 2
ldc Lcom/oracle/svm/core/annotate/MustNotSynchronize;
invokevirtual com.oracle.svm.hosted.meta.HostedMethod.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.oracle.svm.core.annotate.MustNotSynchronize
astore 7
start local 7 5: aload 7
ifnull 12
aload 7
invokeinterface com.oracle.svm.core.annotate.MustNotSynchronize.list:()Z
ifeq 12
6: aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodPath:Ljava/util/Deque;
invokeinterface java.util.Deque.clear:()V
7: aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodImplPath:Ljava/util/Deque;
invokeinterface java.util.Deque.clear:()V
8: aload 0
aload 2
aload 2
invokevirtual com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.checkMethod:(Lcom/oracle/svm/hosted/meta/HostedMethod;Lcom/oracle/svm/hosted/meta/HostedMethod;)Z
pop
9: goto 12
StackMap locals: com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker org.graalvm.compiler.debug.DebugContext com.oracle.svm.hosted.meta.HostedMethod java.util.Iterator java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope com.oracle.svm.core.annotate.MustNotSynchronize
StackMap stack: com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$WarningException
10: astore 8
start local 8 11: new com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$WarningException
dup
aload 8
invokevirtual com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$WarningException.getMessage:()Ljava/lang/String;
invokespecial com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$WarningException.<init>:(Ljava/lang/String;)V
athrow
end local 8 end local 7 12: StackMap locals:
StackMap stack:
aload 6
ifnull 20
aload 6
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 20
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 4
aload 6
ifnull 14
aload 6
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 6 StackMap locals:
StackMap stack:
14: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 5
aload 4
ifnonnull 16
aload 5
astore 4
goto 17
StackMap locals:
StackMap stack:
16: aload 4
aload 5
if_acmpeq 17
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 4
athrow
StackMap locals: com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker org.graalvm.compiler.debug.DebugContext com.oracle.svm.hosted.meta.HostedMethod java.util.Iterator
StackMap stack: java.lang.Throwable
18: astore 4
start local 4 19: aload 1
aload 4
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 4 end local 2 20: StackMap locals: com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker org.graalvm.compiler.debug.DebugContext top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
21: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/oracle/svm/hosted/code/MustNotSynchronizeAnnotationChecker;
0 22 1 debug Lorg/graalvm/compiler/debug/DebugContext;
2 20 2 method Lcom/oracle/svm/hosted/meta/HostedMethod;
4 14 6 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
5 12 7 annotation Lcom/oracle/svm/core/annotate/MustNotSynchronize;
11 12 8 we Lcom/oracle/svm/hosted/code/MustNotSynchronizeAnnotationChecker$WarningException;
19 20 4 t Ljava/lang/Throwable;
Exception table:
from to target type
8 9 10 Class com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$WarningException
4 12 13 any
3 15 15 any
2 18 18 Class java.lang.Throwable
MethodParameters:
Name Flags
debug
protected boolean checkMethod(com.oracle.svm.hosted.meta.HostedMethod, com.oracle.svm.hosted.meta.HostedMethod);
descriptor: (Lcom/oracle/svm/hosted/meta/HostedMethod;Lcom/oracle/svm/hosted/meta/HostedMethod;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodImplPath:Ljava/util/Deque;
aload 2
invokeinterface java.util.Deque.contains:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 2
ldc Lcom/oracle/svm/core/annotate/MustNotSynchronize;
invokevirtual com.oracle.svm.hosted.meta.HostedMethod.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.oracle.svm.core.annotate.MustNotSynchronize
astore 3
start local 3 3: aload 3
ifnull 5
aload 3
invokeinterface com.oracle.svm.core.annotate.MustNotSynchronize.list:()Z
ifne 5
4: iconst_0
ireturn
5: StackMap locals: com.oracle.svm.core.annotate.MustNotSynchronize
StackMap stack:
aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodPath:Ljava/util/Deque;
aload 1
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
6: aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodImplPath:Ljava/util/Deque;
aload 2
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
7: aload 0
aload 2
invokevirtual com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.synchronizesDirectly:(Lcom/oracle/svm/hosted/meta/HostedMethod;)Z
ifeq 11
8: aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodPath:Ljava/util/Deque;
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
pop
9: aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodImplPath:Ljava/util/Deque;
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
pop
10: iconst_1
ireturn
11: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.synchronizesIndirectly:(Lcom/oracle/svm/hosted/meta/HostedMethod;)Z
ifeq 15
12: aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodPath:Ljava/util/Deque;
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
pop
13: aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodImplPath:Ljava/util/Deque;
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
pop
14: iconst_1
ireturn
15: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodPath:Ljava/util/Deque;
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
pop
16: aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodImplPath:Ljava/util/Deque;
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
pop
17: iconst_0
ireturn
18: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
19: aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodPath:Ljava/util/Deque;
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
pop
20: aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodImplPath:Ljava/util/Deque;
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
pop
21: aload 4
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/oracle/svm/hosted/code/MustNotSynchronizeAnnotationChecker;
0 22 1 method Lcom/oracle/svm/hosted/meta/HostedMethod;
0 22 2 methodImpl Lcom/oracle/svm/hosted/meta/HostedMethod;
3 22 3 annotation Lcom/oracle/svm/core/annotate/MustNotSynchronize;
Exception table:
from to target type
7 8 18 any
11 12 18 any
Exceptions:
throws com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$WarningException
MethodParameters:
Name Flags
method
methodImpl
protected boolean synchronizesDirectly(com.oracle.svm.hosted.meta.HostedMethod);
descriptor: (Lcom/oracle/svm/hosted/meta/HostedMethod;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=5, args_size=2
start local 0 start local 1 0: aload 1
getfield com.oracle.svm.hosted.meta.HostedMethod.compilationInfo:Lcom/oracle/svm/hosted/code/CompilationInfo;
invokevirtual com.oracle.svm.hosted.code.CompilationInfo.getGraph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 2
start local 2 1: aload 2
ifnull 8
2: aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker com.oracle.svm.hosted.meta.HostedMethod org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 3
start local 3 4: aload 3
instanceof org.graalvm.compiler.nodes.java.MonitorEnterNode
ifeq 7
5: aload 0
invokevirtual com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.postMustNotSynchronizeWarning:()V
6: iconst_1
ireturn
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: StackMap locals: com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker com.oracle.svm.hosted.meta.HostedMethod org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/svm/hosted/code/MustNotSynchronizeAnnotationChecker;
0 9 1 methodImpl Lcom/oracle/svm/hosted/meta/HostedMethod;
1 9 2 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
4 7 3 node Lorg/graalvm/compiler/graph/Node;
Exceptions:
throws com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$WarningException
MethodParameters:
Name Flags
methodImpl
protected boolean synchronizesIndirectly(com.oracle.svm.hosted.meta.HostedMethod);
descriptor: (Lcom/oracle/svm/hosted/meta/HostedMethod;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
getfield com.oracle.svm.hosted.meta.HostedMethod.compilationInfo:Lcom/oracle/svm/hosted/code/CompilationInfo;
invokevirtual com.oracle.svm.hosted.code.CompilationInfo.getGraph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 2: aload 3
ifnull 18
3: aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getInvokes:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 17
StackMap locals: com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker com.oracle.svm.hosted.meta.HostedMethod int org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.Invoke
astore 4
start local 4 5: aload 4
invokeinterface org.graalvm.compiler.nodes.Invoke.callTarget:()Lorg/graalvm/compiler/nodes/CallTargetNode;
invokevirtual org.graalvm.compiler.nodes.CallTargetNode.targetMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
checkcast com.oracle.svm.hosted.meta.HostedMethod
astore 6
start local 6 6: aload 4
invokeinterface org.graalvm.compiler.nodes.Invoke.callTarget:()Lorg/graalvm/compiler/nodes/CallTargetNode;
invokevirtual org.graalvm.compiler.nodes.CallTargetNode.invokeKind:()Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
invokevirtual org.graalvm.compiler.nodes.CallTargetNode$InvokeKind.isDirect:()Z
ifeq 10
7: iload 2
aload 0
aload 6
aload 6
invokevirtual com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.checkMethod:(Lcom/oracle/svm/hosted/meta/HostedMethod;Lcom/oracle/svm/hosted/meta/HostedMethod;)Z
ior
istore 2
8: iload 2
ifeq 17
9: iload 2
ireturn
10: StackMap locals: com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker com.oracle.svm.hosted.meta.HostedMethod int org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.Invoke java.util.Iterator com.oracle.svm.hosted.meta.HostedMethod
StackMap stack:
aload 6
invokevirtual com.oracle.svm.hosted.meta.HostedMethod.getImplementations:()[Lcom/oracle/svm/hosted/meta/HostedMethod;
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 16
StackMap locals: com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker com.oracle.svm.hosted.meta.HostedMethod int org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.Invoke java.util.Iterator com.oracle.svm.hosted.meta.HostedMethod top int int com.oracle.svm.hosted.meta.HostedMethod[]
StackMap stack:
11: aload 10
iload 8
aaload
astore 7
start local 7 12: iload 2
aload 0
aload 6
aload 7
invokevirtual com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.checkMethod:(Lcom/oracle/svm/hosted/meta/HostedMethod;Lcom/oracle/svm/hosted/meta/HostedMethod;)Z
ior
istore 2
13: iload 2
ifeq 15
14: iload 2
ireturn
end local 7 15: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
16: iload 8
iload 9
if_icmplt 11
end local 6 end local 4 17: StackMap locals: com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker com.oracle.svm.hosted.meta.HostedMethod int org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
18: StackMap locals: com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker com.oracle.svm.hosted.meta.HostedMethod int org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/oracle/svm/hosted/code/MustNotSynchronizeAnnotationChecker;
0 19 1 methodImpl Lcom/oracle/svm/hosted/meta/HostedMethod;
1 19 2 result Z
2 19 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
5 17 4 invoke Lorg/graalvm/compiler/nodes/Invoke;
6 17 6 callee Lcom/oracle/svm/hosted/meta/HostedMethod;
12 15 7 calleeImpl Lcom/oracle/svm/hosted/meta/HostedMethod;
Exceptions:
throws com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$WarningException
MethodParameters:
Name Flags
methodImpl
private void postMustNotSynchronizeWarning();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodPath:Ljava/util/Deque;
invokeinterface java.util.Deque.getLast:()Ljava/lang/Object;
checkcast com.oracle.svm.hosted.meta.HostedMethod
astore 1
start local 1 1: ldc "@MustNotSynchronize warning: "
astore 2
start local 2 2: aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodPath:Ljava/util/Deque;
invokeinterface java.util.Deque.size:()I
iconst_1
if_icmpne 5
3: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "Blacklisted method: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
ldc "%h.%n(%p)"
invokevirtual com.oracle.svm.hosted.meta.HostedMethod.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " synchronizes."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
4: goto 7
5: StackMap locals: com.oracle.svm.hosted.meta.HostedMethod java.lang.String
StackMap stack:
aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodPath:Ljava/util/Deque;
invokeinterface java.util.Deque.getFirst:()Ljava/lang/Object;
checkcast com.oracle.svm.hosted.meta.HostedMethod
astore 3
start local 3 6: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "Blacklisted method: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
ldc "%h.%n(%p)"
invokevirtual com.oracle.svm.hosted.meta.HostedMethod.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " calls "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
ldc "%h.%n(%p)"
invokevirtual com.oracle.svm.hosted.meta.HostedMethod.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " that synchronizes."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
end local 3 7: StackMap locals:
StackMap stack:
getstatic com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$Options.PrintMustNotSynchronizeWarnings:Lcom/oracle/svm/core/option/HostedOptionKey;
invokevirtual com.oracle.svm.core.option.HostedOptionKey.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 11
8: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 2
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: getstatic com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$Options.PrintMustNotSynchronizePath:Lcom/oracle/svm/core/option/HostedOptionKey;
invokevirtual com.oracle.svm.core.option.HostedOptionKey.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 11
iconst_1
aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodPath:Ljava/util/Deque;
invokeinterface java.util.Deque.size:()I
if_icmpge 11
10: aload 0
invokevirtual com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.printPath:()V
11: StackMap locals:
StackMap stack:
getstatic com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$Options.MustNotSynchronizeWarningsAreFatal:Lcom/oracle/svm/core/option/HostedOptionKey;
invokevirtual com.oracle.svm.core.option.HostedOptionKey.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 13
12: new com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$WarningException
dup
aload 2
invokespecial com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$WarningException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/svm/hosted/code/MustNotSynchronizeAnnotationChecker;
1 14 1 blacklistMethod Lcom/oracle/svm/hosted/meta/HostedMethod;
2 14 2 message Ljava/lang/String;
6 7 3 witness Lcom/oracle/svm/hosted/meta/HostedMethod;
Exceptions:
throws com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$WarningException
private void printPath();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " [Path: "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
1: aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodPath:Ljava/util/Deque;
invokeinterface java.util.Deque.iterator:()Ljava/util/Iterator;
astore 1
start local 1 2: aload 0
getfield com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker.methodImplPath:Ljava/util/Deque;
invokeinterface java.util.Deque.iterator:()Ljava/util/Iterator;
astore 2
start local 2 3: goto 11
4: StackMap locals: java.util.Iterator java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.svm.hosted.meta.HostedMethod
astore 3
start local 3 5: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.svm.hosted.meta.HostedMethod
astore 4
start local 4 6: getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
7: aload 3
aload 4
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 10
8: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
ldc "%h.%n(%p)"
invokevirtual com.oracle.svm.hosted.meta.HostedMethod.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
9: goto 11
10: StackMap locals: com.oracle.svm.hosted.meta.HostedMethod com.oracle.svm.hosted.meta.HostedMethod
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
ldc "%f %h.%n(%p)"
invokevirtual com.oracle.svm.hosted.meta.HostedMethod.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " implemented by "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
ldc "%h.%n(%p)"
invokevirtual com.oracle.svm.hosted.meta.HostedMethod.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
end local 4 end local 3 11: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
12: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "]"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/svm/hosted/code/MustNotSynchronizeAnnotationChecker;
2 14 1 methodIterator Ljava/util/Iterator<Lcom/oracle/svm/hosted/meta/HostedMethod;>;
3 14 2 methodImplIterator Ljava/util/Iterator<Lcom/oracle/svm/hosted/meta/HostedMethod;>;
5 11 3 method Lcom/oracle/svm/hosted/meta/HostedMethod;
6 11 4 methodImpl Lcom/oracle/svm/hosted/meta/HostedMethod;
}
SourceFile: "MustNotSynchronizeAnnotationChecker.java"
NestMembers:
com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$Options com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$WarningException
InnerClasses:
public Options = com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$Options of com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker
public WarningException = com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker$WarningException of com.oracle.svm.hosted.code.MustNotSynchronizeAnnotationChecker
public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
public final InvokeKind = org.graalvm.compiler.nodes.CallTargetNode$InvokeKind of org.graalvm.compiler.nodes.CallTargetNode