class sun.tracing.dtrace.SystemResource extends java.lang.ref.WeakReference<sun.tracing.dtrace.Activation>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.tracing.dtrace.SystemResource
super_class: java.lang.ref.WeakReference
{
private long handle;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private static java.lang.ref.ReferenceQueue<sun.tracing.dtrace.Activation> referenceQueue;
descriptor: Ljava/lang/ref/ReferenceQueue;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/lang/ref/ReferenceQueue<Lsun/tracing/dtrace/Activation;>;
static java.util.HashSet<sun.tracing.dtrace.SystemResource> resources;
descriptor: Ljava/util/HashSet;
flags: (0x0008) ACC_STATIC
Signature: Ljava/util/HashSet<Lsun/tracing/dtrace/SystemResource;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.ref.ReferenceQueue
dup
invokespecial java.lang.ref.ReferenceQueue.<init>:()V
dup
putstatic sun.tracing.dtrace.SystemResource.referenceQueue:Ljava/lang/ref/ReferenceQueue;
1: putstatic sun.tracing.dtrace.SystemResource.referenceQueue:Ljava/lang/ref/ReferenceQueue;
2: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic sun.tracing.dtrace.SystemResource.resources:Ljava/util/HashSet;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(sun.tracing.dtrace.Activation, long);
descriptor: (Lsun/tracing/dtrace/Activation;J)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getstatic sun.tracing.dtrace.SystemResource.referenceQueue:Ljava/lang/ref/ReferenceQueue;
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
1: aload 0
lload 2
putfield sun.tracing.dtrace.SystemResource.handle:J
2: invokestatic sun.tracing.dtrace.SystemResource.flush:()V
3: getstatic sun.tracing.dtrace.SystemResource.resources:Ljava/util/HashSet;
aload 0
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tracing/dtrace/SystemResource;
0 5 1 activation Lsun/tracing/dtrace/Activation;
0 5 2 handle J
MethodParameters:
Name Flags
activation
handle
void dispose();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tracing.dtrace.SystemResource.handle:J
invokestatic sun.tracing.dtrace.JVM.dispose:(J)V
1: getstatic sun.tracing.dtrace.SystemResource.resources:Ljava/util/HashSet;
aload 0
invokevirtual java.util.HashSet.remove:(Ljava/lang/Object;)Z
pop
2: aload 0
lconst_0
putfield sun.tracing.dtrace.SystemResource.handle:J
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tracing/dtrace/SystemResource;
static void flush();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: aconst_null
astore 0
start local 0 1: goto 4
2: StackMap locals: sun.tracing.dtrace.SystemResource
StackMap stack:
aload 0
getfield sun.tracing.dtrace.SystemResource.handle:J
lconst_0
lcmp
ifeq 4
3: aload 0
invokevirtual sun.tracing.dtrace.SystemResource.dispose:()V
4: StackMap locals:
StackMap stack:
getstatic sun.tracing.dtrace.SystemResource.referenceQueue:Ljava/lang/ref/ReferenceQueue;
invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
checkcast sun.tracing.dtrace.SystemResource
dup
astore 0
ifnonnull 2
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 resource Lsun/tracing/dtrace/SystemResource;
}
Signature: Ljava/lang/ref/WeakReference<Lsun/tracing/dtrace/Activation;>;
SourceFile: "Activation.java"