public abstract class jdk.internal.ref.SoftCleanable<T> extends java.lang.ref.SoftReference<T> implements java.lang.ref.Cleaner$Cleanable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.internal.ref.SoftCleanable
super_class: java.lang.ref.SoftReference
{
jdk.internal.ref.SoftCleanable<?> prev;
descriptor: Ljdk/internal/ref/SoftCleanable;
flags: (0x0000)
Signature: Ljdk/internal/ref/SoftCleanable<*>;
jdk.internal.ref.SoftCleanable<?> next;
descriptor: Ljdk/internal/ref/SoftCleanable;
flags: (0x0000)
Signature: Ljdk/internal/ref/SoftCleanable<*>;
private final jdk.internal.ref.SoftCleanable<?> list;
descriptor: Ljdk/internal/ref/SoftCleanable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/ref/SoftCleanable<*>;
public void <init>(T, java.lang.ref.Cleaner);
descriptor: (Ljava/lang/Object;Ljava/lang/ref/Cleaner;)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
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
aload 2
invokestatic jdk.internal.ref.CleanerImpl.getCleanerImpl:(Ljava/lang/ref/Cleaner;)Ljdk/internal/ref/CleanerImpl;
getfield jdk.internal.ref.CleanerImpl.queue:Ljava/lang/ref/ReferenceQueue;
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
1: aload 0
aload 0
putfield jdk.internal.ref.SoftCleanable.prev:Ljdk/internal/ref/SoftCleanable;
aload 0
aload 0
putfield jdk.internal.ref.SoftCleanable.next:Ljdk/internal/ref/SoftCleanable;
2: aload 0
aload 2
invokestatic jdk.internal.ref.CleanerImpl.getCleanerImpl:(Ljava/lang/ref/Cleaner;)Ljdk/internal/ref/CleanerImpl;
getfield jdk.internal.ref.CleanerImpl.softCleanableList:Ljdk/internal/ref/SoftCleanable;
putfield jdk.internal.ref.SoftCleanable.list:Ljdk/internal/ref/SoftCleanable;
3: aload 0
invokevirtual jdk.internal.ref.SoftCleanable.insert:()V
4: aload 1
invokestatic java.lang.ref.Reference.reachabilityFence:(Ljava/lang/Object;)V
5: aload 2
invokestatic java.lang.ref.Reference.reachabilityFence:(Ljava/lang/Object;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/ref/SoftCleanable<TT;>;
0 7 1 referent TT;
0 7 2 cleaner Ljava/lang/ref/Cleaner;
Signature: (TT;Ljava/lang/ref/Cleaner;)V
MethodParameters:
Name Flags
referent
cleaner
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
aconst_null
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
1: aload 0
aload 0
putfield jdk.internal.ref.SoftCleanable.prev:Ljdk/internal/ref/SoftCleanable;
aload 0
aload 0
putfield jdk.internal.ref.SoftCleanable.next:Ljdk/internal/ref/SoftCleanable;
2: aload 0
aload 0
putfield jdk.internal.ref.SoftCleanable.list:Ljdk/internal/ref/SoftCleanable;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/ref/SoftCleanable<TT;>;
private void insert();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.ref.SoftCleanable.list:Ljdk/internal/ref/SoftCleanable;
dup
astore 1
monitorenter
1: aload 0
aload 0
getfield jdk.internal.ref.SoftCleanable.list:Ljdk/internal/ref/SoftCleanable;
putfield jdk.internal.ref.SoftCleanable.prev:Ljdk/internal/ref/SoftCleanable;
2: aload 0
aload 0
getfield jdk.internal.ref.SoftCleanable.list:Ljdk/internal/ref/SoftCleanable;
getfield jdk.internal.ref.SoftCleanable.next:Ljdk/internal/ref/SoftCleanable;
putfield jdk.internal.ref.SoftCleanable.next:Ljdk/internal/ref/SoftCleanable;
3: aload 0
getfield jdk.internal.ref.SoftCleanable.next:Ljdk/internal/ref/SoftCleanable;
aload 0
putfield jdk.internal.ref.SoftCleanable.prev:Ljdk/internal/ref/SoftCleanable;
4: aload 0
getfield jdk.internal.ref.SoftCleanable.list:Ljdk/internal/ref/SoftCleanable;
aload 0
putfield jdk.internal.ref.SoftCleanable.next:Ljdk/internal/ref/SoftCleanable;
5: aload 1
monitorexit
6: goto 9
StackMap locals: jdk.internal.ref.SoftCleanable jdk.internal.ref.SoftCleanable
StackMap stack: java.lang.Throwable
7: aload 1
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/ref/SoftCleanable<TT;>;
Exception table:
from to target type
1 6 7 any
7 8 7 any
private boolean remove();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.ref.SoftCleanable.list:Ljdk/internal/ref/SoftCleanable;
dup
astore 1
monitorenter
1: aload 0
getfield jdk.internal.ref.SoftCleanable.next:Ljdk/internal/ref/SoftCleanable;
aload 0
if_acmpeq 8
2: aload 0
getfield jdk.internal.ref.SoftCleanable.next:Ljdk/internal/ref/SoftCleanable;
aload 0
getfield jdk.internal.ref.SoftCleanable.prev:Ljdk/internal/ref/SoftCleanable;
putfield jdk.internal.ref.SoftCleanable.prev:Ljdk/internal/ref/SoftCleanable;
3: aload 0
getfield jdk.internal.ref.SoftCleanable.prev:Ljdk/internal/ref/SoftCleanable;
aload 0
getfield jdk.internal.ref.SoftCleanable.next:Ljdk/internal/ref/SoftCleanable;
putfield jdk.internal.ref.SoftCleanable.next:Ljdk/internal/ref/SoftCleanable;
4: aload 0
aload 0
putfield jdk.internal.ref.SoftCleanable.prev:Ljdk/internal/ref/SoftCleanable;
5: aload 0
aload 0
putfield jdk.internal.ref.SoftCleanable.next:Ljdk/internal/ref/SoftCleanable;
6: aload 1
monitorexit
7: iconst_1
ireturn
8: StackMap locals: jdk.internal.ref.SoftCleanable
StackMap stack:
aload 1
monitorexit
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
11: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/internal/ref/SoftCleanable<TT;>;
Exception table:
from to target type
1 7 10 any
8 9 10 any
10 11 10 any
boolean isListEmpty();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.ref.SoftCleanable.list:Ljdk/internal/ref/SoftCleanable;
dup
astore 1
monitorenter
1: aload 0
getfield jdk.internal.ref.SoftCleanable.list:Ljdk/internal/ref/SoftCleanable;
aload 0
getfield jdk.internal.ref.SoftCleanable.list:Ljdk/internal/ref/SoftCleanable;
getfield jdk.internal.ref.SoftCleanable.next:Ljdk/internal/ref/SoftCleanable;
if_acmpne 2
iconst_1
goto 3
StackMap locals: jdk.internal.ref.SoftCleanable
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: aload 1
monitorexit
4: ireturn
5: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
6: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/ref/SoftCleanable<TT;>;
Exception table:
from to target type
1 4 5 any
5 6 5 any
public final void clean();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.ref.SoftCleanable.remove:()Z
ifeq 3
1: aload 0
invokespecial java.lang.ref.SoftReference.clear:()V
2: aload 0
invokevirtual jdk.internal.ref.SoftCleanable.performCleanup:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/ref/SoftCleanable<TT;>;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.ref.SoftCleanable.remove:()Z
ifeq 2
1: aload 0
invokespecial java.lang.ref.SoftReference.clear:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/ref/SoftCleanable<TT;>;
protected abstract void performCleanup();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
public final boolean isEnqueued();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "isEnqueued"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/ref/SoftCleanable<TT;>;
public final boolean enqueue();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "enqueue"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/ref/SoftCleanable<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/ref/SoftReference<TT;>;Ljava/lang/ref/Cleaner$Cleanable;
SourceFile: "SoftCleanable.java"
InnerClasses:
public abstract Cleanable = java.lang.ref.Cleaner$Cleanable of java.lang.ref.Cleaner