class com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask
super_class: java.lang.Object
{
final com.mchange.v2.resourcepool.BasicResourcePool this$0;
descriptor: Lcom/mchange/v2/resourcepool/BasicResourcePool;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.lang.Object val$resc;
descriptor: Ljava/lang/Object;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mchange.v2.resourcepool.BasicResourcePool, java.lang.Object);
descriptor: (Lcom/mchange/v2/resourcepool/BasicResourcePool;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 // com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask this
0: .line 1412
aload 0 /* this */
aload 1
putfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.this$0:Lcom/mchange/v2/resourcepool/BasicResourcePool;
aload 0 /* this */
aload 2
putfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.val$resc:Ljava/lang/Object;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mchange/v2/resourcepool/BasicResourcePool$1RefurbishCheckinResourceTask;
MethodParameters:
Name Flags
this$0 final
val$resc final
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 // com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask this
0: .line 1416
aload 0 /* this */
getfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.this$0:Lcom/mchange/v2/resourcepool/BasicResourcePool;
aload 0 /* this */
getfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.val$resc:Ljava/lang/Object;
invokevirtual com.mchange.v2.resourcepool.BasicResourcePool.attemptRefurbishResourceOnCheckin:(Ljava/lang/Object;)Z
istore 1 /* resc_okay */
start local 1 // boolean resc_okay
1: .line 1417
aload 0 /* this */
getfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.this$0:Lcom/mchange/v2/resourcepool/BasicResourcePool;
dup
astore 2
monitorenter
2: .line 1419
aload 0 /* this */
getfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.this$0:Lcom/mchange/v2/resourcepool/BasicResourcePool;
getfield com.mchange.v2.resourcepool.BasicResourcePool.managed:Ljava/util/HashMap;
aload 0 /* this */
getfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.val$resc:Ljava/lang/Object;
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mchange.v2.resourcepool.BasicResourcePool$PunchCard
astore 3 /* card */
start local 3 // com.mchange.v2.resourcepool.BasicResourcePool$PunchCard card
3: .line 1421
iload 1 /* resc_okay */
ifeq 8
aload 3 /* card */
ifnull 8
4: .line 1423
aload 0 /* this */
getfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.this$0:Lcom/mchange/v2/resourcepool/BasicResourcePool;
getfield com.mchange.v2.resourcepool.BasicResourcePool.unused:Ljava/util/LinkedList;
iconst_0
aload 0 /* this */
getfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.val$resc:Ljava/lang/Object;
invokevirtual java.util.LinkedList.add:(ILjava/lang/Object;)V
5: .line 1425
aload 3 /* card */
invokestatic java.lang.System.currentTimeMillis:()J
putfield com.mchange.v2.resourcepool.BasicResourcePool$PunchCard.last_checkin_time:J
6: .line 1426
aload 3 /* card */
ldc -1
putfield com.mchange.v2.resourcepool.BasicResourcePool$PunchCard.checkout_time:J
7: .line 1427
goto 14
8: .line 1430
StackMap locals: int com.mchange.v2.resourcepool.BasicResourcePool com.mchange.v2.resourcepool.BasicResourcePool$PunchCard
StackMap stack:
aload 3 /* card */
ifnull 10
9: .line 1431
aload 3 /* card */
ldc -1
putfield com.mchange.v2.resourcepool.BasicResourcePool$PunchCard.checkout_time:J
10: .line 1433
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.this$0:Lcom/mchange/v2/resourcepool/BasicResourcePool;
aload 0 /* this */
getfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.val$resc:Ljava/lang/Object;
invokevirtual com.mchange.v2.resourcepool.BasicResourcePool.removeResource:(Ljava/lang/Object;)V
11: .line 1434
aload 0 /* this */
getfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.this$0:Lcom/mchange/v2/resourcepool/BasicResourcePool;
invokevirtual com.mchange.v2.resourcepool.BasicResourcePool.ensureMinResources:()V
12: .line 1436
aload 3 /* card */
ifnonnull 14
getstatic com.mchange.v2.resourcepool.BasicResourcePool.logger:Lcom/mchange/v2/log/MLogger;
getstatic com.mchange.v2.log.MLevel.FINE:Lcom/mchange/v2/log/MLevel;
invokeinterface com.mchange.v2.log.MLogger.isLoggable:(Lcom/mchange/v2/log/MLevel;)Z
ifeq 14
13: .line 1437
getstatic com.mchange.v2.resourcepool.BasicResourcePool.logger:Lcom/mchange/v2/log/MLogger;
new java.lang.StringBuilder
dup
ldc "Resource "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
getfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.val$resc:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " was removed from the pool during its refurbishment for checkin."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface com.mchange.v2.log.MLogger.fine:(Ljava/lang/String;)V
14: .line 1440
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.this$0:Lcom/mchange/v2/resourcepool/BasicResourcePool;
aload 0 /* this */
getfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.val$resc:Ljava/lang/Object;
aload 0 /* this */
getfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.this$0:Lcom/mchange/v2/resourcepool/BasicResourcePool;
getfield com.mchange.v2.resourcepool.BasicResourcePool.managed:Ljava/util/HashMap;
invokevirtual java.util.HashMap.size:()I
aload 0 /* this */
getfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.this$0:Lcom/mchange/v2/resourcepool/BasicResourcePool;
getfield com.mchange.v2.resourcepool.BasicResourcePool.unused:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.size:()I
aload 0 /* this */
getfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.this$0:Lcom/mchange/v2/resourcepool/BasicResourcePool;
getfield com.mchange.v2.resourcepool.BasicResourcePool.excluded:Ljava/util/HashSet;
invokevirtual java.util.HashSet.size:()I
invokevirtual com.mchange.v2.resourcepool.BasicResourcePool.asyncFireResourceCheckedIn:(Ljava/lang/Object;III)V
15: .line 1441
aload 0 /* this */
getfield com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.this$0:Lcom/mchange/v2/resourcepool/BasicResourcePool;
invokevirtual java.lang.Object.notifyAll:()V
end local 3 // com.mchange.v2.resourcepool.BasicResourcePool$PunchCard card
16: .line 1417
aload 2
monitorexit
17: goto 20
StackMap locals: com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask int com.mchange.v2.resourcepool.BasicResourcePool
StackMap stack: java.lang.Throwable
18: aload 2
monitorexit
19: athrow
20: .line 1443
StackMap locals:
StackMap stack:
return
end local 1 // boolean resc_okay
end local 0 // com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask this
LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/mchange/v2/resourcepool/BasicResourcePool$1RefurbishCheckinResourceTask;
1 21 1 resc_okay Z
3 16 3 card Lcom/mchange/v2/resourcepool/BasicResourcePool$PunchCard;
Exception table:
from to target type
2 17 18 any
18 19 18 any
}
SourceFile: "BasicResourcePool.java"
EnclosingMethod: com.mchange.v2.resourcepool.BasicResourcePool.doCheckinManaged:(Ljava/lang/Object;)V
NestHost: com.mchange.v2.resourcepool.BasicResourcePool
InnerClasses:
RefurbishCheckinResourceTask = com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask
final PunchCard = com.mchange.v2.resourcepool.BasicResourcePool$PunchCard of com.mchange.v2.resourcepool.BasicResourcePool