class sun.font.FontDesignMetrics$KeyReference extends java.lang.ref.SoftReference implements sun.java2d.DisposerRecord
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.font.FontDesignMetrics$KeyReference
super_class: java.lang.ref.SoftReference
{
static java.lang.ref.ReferenceQueue queue;
descriptor: Ljava/lang/ref/ReferenceQueue;
flags: (0x0008) ACC_STATIC
java.lang.Object key;
descriptor: Ljava/lang/Object;
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: .line 176
invokestatic sun.java2d.Disposer.getQueue:()Ljava/lang/ref/ReferenceQueue;
putstatic sun.font.FontDesignMetrics$KeyReference.queue:Ljava/lang/ref/ReferenceQueue;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 // sun.font.FontDesignMetrics$KeyReference this
start local 1 // java.lang.Object key
start local 2 // java.lang.Object value
0: .line 181
aload 0 /* this */
aload 2 /* value */
getstatic sun.font.FontDesignMetrics$KeyReference.queue:Ljava/lang/ref/ReferenceQueue;
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
1: .line 182
aload 0 /* this */
aload 1 /* key */
putfield sun.font.FontDesignMetrics$KeyReference.key:Ljava/lang/Object;
2: .line 183
aload 0 /* this */
aload 0 /* this */
invokestatic sun.java2d.Disposer.addReference:(Ljava/lang/ref/Reference;Lsun/java2d/DisposerRecord;)V
3: .line 184
return
end local 2 // java.lang.Object value
end local 1 // java.lang.Object key
end local 0 // sun.font.FontDesignMetrics$KeyReference this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/font/FontDesignMetrics$KeyReference;
0 4 1 key Ljava/lang/Object;
0 4 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
key
value
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 // sun.font.FontDesignMetrics$KeyReference this
0: .line 196
getstatic sun.font.FontDesignMetrics.metricsCache:Ljava/util/concurrent/ConcurrentHashMap;
aload 0 /* this */
getfield sun.font.FontDesignMetrics$KeyReference.key:Ljava/lang/Object;
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
aload 0 /* this */
if_acmpne 2
1: .line 197
getstatic sun.font.FontDesignMetrics.metricsCache:Ljava/util/concurrent/ConcurrentHashMap;
aload 0 /* this */
getfield sun.font.FontDesignMetrics$KeyReference.key:Ljava/lang/Object;
invokevirtual java.util.concurrent.ConcurrentHashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: .line 199
StackMap locals:
StackMap stack:
return
end local 0 // sun.font.FontDesignMetrics$KeyReference this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/font/FontDesignMetrics$KeyReference;
}
SourceFile: "FontDesignMetrics.java"
NestHost: sun.font.FontDesignMetrics
InnerClasses:
private KeyReference = sun.font.FontDesignMetrics$KeyReference of sun.font.FontDesignMetrics