class sun.rmi.transport.WeakRef extends java.lang.ref.WeakReference<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.rmi.transport.WeakRef
super_class: java.lang.ref.WeakReference
{
private int hashValue;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.Object strongRef;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.Object);
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.ref.WeakReference.<init>:(Ljava/lang/Object;)V
1: aload 0
aconst_null
putfield sun.rmi.transport.WeakRef.strongRef:Ljava/lang/Object;
2: aload 0
aload 1
invokevirtual sun.rmi.transport.WeakRef.setHashValue:(Ljava/lang/Object;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/rmi/transport/WeakRef;
0 4 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public void <init>(, java.lang.ref.ReferenceQueue<java.lang.Object>);
descriptor: (Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
1: aload 0
aconst_null
putfield sun.rmi.transport.WeakRef.strongRef:Ljava/lang/Object;
2: aload 0
aload 1
invokevirtual sun.rmi.transport.WeakRef.setHashValue:(Ljava/lang/Object;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/rmi/transport/WeakRef;
0 4 1 obj Ljava/lang/Object;
0 4 2 q Ljava/lang/ref/ReferenceQueue<Ljava/lang/Object;>;
Signature: (Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
obj
q
public synchronized void pin();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.WeakRef.strongRef:Ljava/lang/Object;
ifnonnull 6
1: aload 0
aload 0
invokevirtual sun.rmi.transport.WeakRef.get:()Ljava/lang/Object;
putfield sun.rmi.transport.WeakRef.strongRef:Ljava/lang/Object;
2: getstatic sun.rmi.transport.DGCImpl.dgcLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
invokevirtual sun.rmi.runtime.Log.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 6
3: getstatic sun.rmi.transport.DGCImpl.dgcLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
4: new java.lang.StringBuilder
dup
ldc "strongRef = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.rmi.transport.WeakRef.strongRef:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/rmi/transport/WeakRef;
public synchronized void unpin();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.WeakRef.strongRef:Ljava/lang/Object;
ifnull 6
1: getstatic sun.rmi.transport.DGCImpl.dgcLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
invokevirtual sun.rmi.runtime.Log.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 5
2: getstatic sun.rmi.transport.DGCImpl.dgcLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
3: new java.lang.StringBuilder
dup
ldc "strongRef = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.rmi.transport.WeakRef.strongRef:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.rmi.transport.WeakRef.strongRef:Ljava/lang/Object;
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/rmi/transport/WeakRef;
private void setHashValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 3
1: aload 0
aload 1
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
putfield sun.rmi.transport.WeakRef.hashValue:I
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.rmi.transport.WeakRef.hashValue:I
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/rmi/transport/WeakRef;
0 5 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.WeakRef.hashValue:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/transport/WeakRef;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof sun.rmi.transport.WeakRef
ifeq 6
1: aload 1
aload 0
if_acmpne 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.rmi.transport.WeakRef.get:()Ljava/lang/Object;
astore 2
start local 2 4: aload 2
ifnull 5
aload 2
aload 1
checkcast sun.rmi.transport.WeakRef
invokevirtual sun.rmi.transport.WeakRef.get:()Ljava/lang/Object;
if_acmpne 5
iconst_1
ireturn
StackMap locals: java.lang.Object
StackMap stack:
5: iconst_0
ireturn
end local 2 6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/rmi/transport/WeakRef;
0 7 1 obj Ljava/lang/Object;
4 6 2 referent Ljava/lang/Object;
MethodParameters:
Name Flags
obj
}
Signature: Ljava/lang/ref/WeakReference<Ljava/lang/Object;>;
SourceFile: "WeakRef.java"