public class jdk.internal.misc.TerminatingThreadLocal<T> extends java.lang.ThreadLocal<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.misc.TerminatingThreadLocal
super_class: java.lang.ThreadLocal
{
public static final java.lang.ThreadLocal<java.util.Collection<jdk.internal.misc.TerminatingThreadLocal<?>>> REGISTRY;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljava/util/Collection<Ljdk/internal/misc/TerminatingThreadLocal<*>;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new jdk.internal.misc.TerminatingThreadLocal$1
dup
invokespecial jdk.internal.misc.TerminatingThreadLocal$1.<init>:()V
1: putstatic jdk.internal.misc.TerminatingThreadLocal.REGISTRY:Ljava/lang/ThreadLocal;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.ThreadLocal.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/misc/TerminatingThreadLocal<TT;>;
public void set();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
1: aload 0
invokestatic jdk.internal.misc.TerminatingThreadLocal.register:(Ljdk/internal/misc/TerminatingThreadLocal;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/misc/TerminatingThreadLocal<TT;>;
0 3 1 value TT;
Signature: (TT;)V
MethodParameters:
Name Flags
value
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.ThreadLocal.remove:()V
1: aload 0
invokestatic jdk.internal.misc.TerminatingThreadLocal.unregister:(Ljdk/internal/misc/TerminatingThreadLocal;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/misc/TerminatingThreadLocal<TT;>;
protected void threadTerminated();
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/misc/TerminatingThreadLocal<TT;>;
0 1 1 value TT;
Signature: (TT;)V
MethodParameters:
Name Flags
value
public static void threadTerminated();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=0
0: getstatic jdk.internal.misc.TerminatingThreadLocal.REGISTRY:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Collection
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 1
goto 3
StackMap locals: top java.util.Iterator
StackMap stack:
1: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.misc.TerminatingThreadLocal
astore 0
start local 0 2: aload 0
invokevirtual jdk.internal.misc.TerminatingThreadLocal._threadTerminated:()V
end local 0 3: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
LocalVariableTable:
Start End Slot Name Signature
2 3 0 ttl Ljdk/internal/misc/TerminatingThreadLocal<*>;
private void _threadTerminated();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual jdk.internal.misc.TerminatingThreadLocal.get:()Ljava/lang/Object;
invokevirtual jdk.internal.misc.TerminatingThreadLocal.threadTerminated:(Ljava/lang/Object;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/misc/TerminatingThreadLocal<TT;>;
public static void register(jdk.internal.misc.TerminatingThreadLocal<?>);
descriptor: (Ljdk/internal/misc/TerminatingThreadLocal;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.internal.misc.TerminatingThreadLocal.REGISTRY:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Collection
aload 0
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 tl Ljdk/internal/misc/TerminatingThreadLocal<*>;
Signature: (Ljdk/internal/misc/TerminatingThreadLocal<*>;)V
MethodParameters:
Name Flags
tl
private static void unregister(jdk.internal.misc.TerminatingThreadLocal<?>);
descriptor: (Ljdk/internal/misc/TerminatingThreadLocal;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.internal.misc.TerminatingThreadLocal.REGISTRY:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Collection
aload 0
invokeinterface java.util.Collection.remove:(Ljava/lang/Object;)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 tl Ljdk/internal/misc/TerminatingThreadLocal<*>;
Signature: (Ljdk/internal/misc/TerminatingThreadLocal<*>;)V
MethodParameters:
Name Flags
tl
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/ThreadLocal<TT;>;
SourceFile: "TerminatingThreadLocal.java"
NestMembers:
jdk.internal.misc.TerminatingThreadLocal$1
InnerClasses:
jdk.internal.misc.TerminatingThreadLocal$1