public abstract class sun.java2d.ReentrantContextProvider<K extends sun.java2d.ReentrantContext>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.java2d.ReentrantContextProvider
super_class: java.lang.Object
{
static final byte USAGE_TL_INACTIVE;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final byte USAGE_TL_IN_USE;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final byte USAGE_CLQ;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int REF_HARD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int REF_SOFT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int REF_WEAK;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private final int refType;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield sun.java2d.ReentrantContextProvider.refType:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/ReentrantContextProvider<TK;>;
0 3 1 refType I
MethodParameters:
Name Flags
refType final
protected abstract K newContext();
descriptor: ()Lsun/java2d/ReentrantContext;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: ()TK;
public abstract K acquire();
descriptor: ()Lsun/java2d/ReentrantContext;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()TK;
public abstract void release();
descriptor: (Lsun/java2d/ReentrantContext;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (TK;)V
MethodParameters:
Name Flags
ctx
protected final java.lang.ref.Reference<K> getOrCreateReference(K);
descriptor: (Lsun/java2d/ReentrantContext;)Ljava/lang/ref/Reference;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield sun.java2d.ReentrantContext.reference:Ljava/lang/ref/Reference;
ifnonnull 7
1: aload 0
getfield sun.java2d.ReentrantContextProvider.refType:I
tableswitch { // 0 - 2
0: 2
1: 4
2: 6
default: 6
}
2: StackMap locals:
StackMap stack:
aload 1
new sun.java2d.ReentrantContextProvider$HardReference
dup
aload 1
invokespecial sun.java2d.ReentrantContextProvider$HardReference.<init>:(Ljava/lang/Object;)V
putfield sun.java2d.ReentrantContext.reference:Ljava/lang/ref/Reference;
3: goto 7
4: StackMap locals:
StackMap stack:
aload 1
new java.lang.ref.SoftReference
dup
aload 1
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
putfield sun.java2d.ReentrantContext.reference:Ljava/lang/ref/Reference;
5: goto 7
6: StackMap locals:
StackMap stack:
aload 1
new java.lang.ref.WeakReference
dup
aload 1
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield sun.java2d.ReentrantContext.reference:Ljava/lang/ref/Reference;
7: StackMap locals:
StackMap stack:
aload 1
8: getfield sun.java2d.ReentrantContext.reference:Ljava/lang/ref/Reference;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/java2d/ReentrantContextProvider<TK;>;
0 9 1 ctx TK;
Signature: (TK;)Ljava/lang/ref/Reference<TK;>;
MethodParameters:
Name Flags
ctx final
}
Signature: <K:Lsun/java2d/ReentrantContext;>Ljava/lang/Object;
SourceFile: "ReentrantContextProvider.java"
NestMembers:
sun.java2d.ReentrantContextProvider$HardReference
InnerClasses:
final HardReference = sun.java2d.ReentrantContextProvider$HardReference of sun.java2d.ReentrantContextProvider