class org.graalvm.compiler.debug.DebugContext$Invariants
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.debug.DebugContext$Invariants
super_class: java.lang.Object
{
private final java.lang.Thread thread;
descriptor: Ljava/lang/Thread;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.StackTraceElement[] origin;
descriptor: [Ljava/lang/StackTraceElement;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
putfield org.graalvm.compiler.debug.DebugContext$Invariants.thread:Ljava/lang/Thread;
2: aload 0
aload 0
getfield org.graalvm.compiler.debug.DebugContext$Invariants.thread:Ljava/lang/Thread;
invokestatic org.graalvm.compiler.debug.DebugContext.getStackTrace:(Ljava/lang/Thread;)[Ljava/lang/StackTraceElement;
putfield org.graalvm.compiler.debug.DebugContext$Invariants.origin:[Ljava/lang/StackTraceElement;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/debug/DebugContext$Invariants;
boolean checkNoConcurrentAccess();
descriptor: ()Z
flags: (0x0000)
Code:
stack=6, locals=9, args_size=1
start local 0 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
astore 1
start local 1 1: aload 1
aload 0
getfield org.graalvm.compiler.debug.DebugContext$Invariants.thread:Ljava/lang/Thread;
if_acmpeq 23
2: new java.util.Formatter
dup
invokespecial java.util.Formatter.<init>:()V
astore 2
start local 2 3: aload 2
ldc "Thread local %s object was created on thread %s but is being accessed by thread %s. The most likely cause is that the object is being retrieved from a non-thread-local cache."
iconst_3
anewarray java.lang.Object
dup
iconst_0
4: ldc Lorg/graalvm/compiler/debug/DebugContext;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.debug.DebugContext$Invariants.thread:Ljava/lang/Thread;
aastore
dup
iconst_2
aload 1
aastore
5: invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
6: iconst_0
istore 3
start local 3 7: iconst_0
istore 4
start local 4 8: aload 0
getfield org.graalvm.compiler.debug.DebugContext$Invariants.origin:[Ljava/lang/StackTraceElement;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 19
StackMap locals: org.graalvm.compiler.debug.DebugContext$Invariants java.lang.Thread java.util.Formatter int int top int int java.lang.StackTraceElement[]
StackMap stack:
9: aload 8
iload 6
aaload
astore 5
start local 5 10: aload 5
invokevirtual java.lang.StackTraceElement.getMethodName:()Ljava/lang/String;
ldc "<init>"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
aload 5
invokevirtual java.lang.StackTraceElement.getClassName:()Ljava/lang/String;
ldc Lorg/graalvm/compiler/debug/DebugContext;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: iinc 3 1
12: goto 18
StackMap locals: org.graalvm.compiler.debug.DebugContext$Invariants java.lang.Thread java.util.Formatter int int java.lang.StackTraceElement int int java.lang.StackTraceElement[]
StackMap stack:
13: iload 3
ifeq 18
14: iload 4
ifne 17
15: iconst_1
istore 4
16: aload 2
ldc " The object was instantiated here:"
iconst_0
anewarray java.lang.Object
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
17: StackMap locals:
StackMap stack:
aload 2
ldc "%n\t\tin %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
end local 5 18: StackMap locals: org.graalvm.compiler.debug.DebugContext$Invariants java.lang.Thread java.util.Formatter int int top int int java.lang.StackTraceElement[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
19: iload 6
iload 7
if_icmplt 9
20: iload 4
ifeq 22
21: aload 2
ldc "%n"
iconst_0
anewarray java.lang.Object
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
22: StackMap locals: org.graalvm.compiler.debug.DebugContext$Invariants java.lang.Thread java.util.Formatter int int
StackMap stack:
new java.lang.AssertionError
dup
aload 2
invokevirtual java.util.Formatter.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 4 end local 3 end local 2 23: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/graalvm/compiler/debug/DebugContext$Invariants;
1 24 1 currentThread Ljava/lang/Thread;
3 23 2 buf Ljava/util/Formatter;
7 23 3 debugContextConstructors I
8 23 4 addedHeader Z
10 18 5 e Ljava/lang/StackTraceElement;
}
SourceFile: "DebugContext.java"
NestHost: org.graalvm.compiler.debug.DebugContext
InnerClasses:
Invariants = org.graalvm.compiler.debug.DebugContext$Invariants of org.graalvm.compiler.debug.DebugContext