final class org.apache.cassandra.utils.concurrent.Ref$Debug
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.utils.concurrent.Ref$Debug
super_class: java.lang.Object
{
java.lang.String allocateThread;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String deallocateThread;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.StackTraceElement[] allocateTrace;
descriptor: [Ljava/lang/StackTraceElement;
flags: (0x0000)
java.lang.StackTraceElement[] deallocateTrace;
descriptor: [Ljava/lang/StackTraceElement;
flags: (0x0000)
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
astore 1
start local 1 2: aload 0
aload 1
invokevirtual java.lang.Thread.toString:()Ljava/lang/String;
putfield org.apache.cassandra.utils.concurrent.Ref$Debug.allocateThread:Ljava/lang/String;
3: aload 0
aload 1
invokevirtual java.lang.Thread.getStackTrace:()[Ljava/lang/StackTraceElement;
putfield org.apache.cassandra.utils.concurrent.Ref$Debug.allocateTrace:[Ljava/lang/StackTraceElement;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/concurrent/Ref$Debug;
2 5 1 thread Ljava/lang/Thread;
synchronized void deallocate();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual java.lang.Thread.toString:()Ljava/lang/String;
putfield org.apache.cassandra.utils.concurrent.Ref$Debug.deallocateThread:Ljava/lang/String;
2: aload 0
aload 1
invokevirtual java.lang.Thread.getStackTrace:()[Ljava/lang/StackTraceElement;
putfield org.apache.cassandra.utils.concurrent.Ref$Debug.deallocateTrace:[Ljava/lang/StackTraceElement;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/utils/concurrent/Ref$Debug;
1 4 1 thread Ljava/lang/Thread;
synchronized void log(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.utils.concurrent.Ref.logger:Lorg/slf4j/Logger;
ldc "Allocate trace {}:\n{}"
aload 1
aload 0
aload 0
getfield org.apache.cassandra.utils.concurrent.Ref$Debug.allocateThread:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.utils.concurrent.Ref$Debug.allocateTrace:[Ljava/lang/StackTraceElement;
invokevirtual org.apache.cassandra.utils.concurrent.Ref$Debug.print:(Ljava/lang/String;[Ljava/lang/StackTraceElement;)Ljava/lang/String;
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
1: aload 0
getfield org.apache.cassandra.utils.concurrent.Ref$Debug.deallocateThread:Ljava/lang/String;
ifnull 3
2: getstatic org.apache.cassandra.utils.concurrent.Ref.logger:Lorg/slf4j/Logger;
ldc "Deallocate trace {}:\n{}"
aload 1
aload 0
aload 0
getfield org.apache.cassandra.utils.concurrent.Ref$Debug.deallocateThread:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.utils.concurrent.Ref$Debug.deallocateTrace:[Ljava/lang/StackTraceElement;
invokevirtual org.apache.cassandra.utils.concurrent.Ref$Debug.print:(Ljava/lang/String;[Ljava/lang/StackTraceElement;)Ljava/lang/String;
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/utils/concurrent/Ref$Debug;
0 4 1 id Ljava/lang/String;
MethodParameters:
Name Flags
id
java.lang.String print(java.lang.String, java.lang.StackTraceElement[]);
descriptor: (Ljava/lang/String;[Ljava/lang/StackTraceElement;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=8, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 1: aload 3
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 3
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 2
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 9
StackMap locals: org.apache.cassandra.utils.concurrent.Ref$Debug java.lang.String java.lang.StackTraceElement[] java.lang.StringBuilder top int int java.lang.StackTraceElement[]
StackMap stack:
4: aload 7
iload 5
aaload
astore 4
start local 4 5: aload 3
ldc "\tat "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 3
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
7: aload 3
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 4 8: iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 6
if_icmplt 4
10: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/utils/concurrent/Ref$Debug;
0 11 1 thread Ljava/lang/String;
0 11 2 trace [Ljava/lang/StackTraceElement;
1 11 3 sb Ljava/lang/StringBuilder;
5 8 4 element Ljava/lang/StackTraceElement;
MethodParameters:
Name Flags
thread
trace
}
SourceFile: "Ref.java"
NestHost: org.apache.cassandra.utils.concurrent.Ref
InnerClasses:
final Debug = org.apache.cassandra.utils.concurrent.Ref$Debug of org.apache.cassandra.utils.concurrent.Ref