class org.jruby.util.JarCache
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.util.JarCache
super_class: java.lang.Object
{
private final java.util.Map<java.lang.String, org.jruby.util.JarCache$JarIndex> indexCache;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/jruby/util/JarCache$JarIndex;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
putfield org.jruby.util.JarCache.indexCache:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/util/JarCache;
public org.jruby.util.JarCache$JarIndex getIndex(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/util/JarCache$JarIndex;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: aload 0
getfield org.jruby.util.JarCache.indexCache:Ljava/util/Map;
dup
astore 3
monitorenter
2: aload 0
getfield org.jruby.util.JarCache.indexCache:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.util.JarCache$JarIndex
astore 4
start local 4 3: aload 4
ifnull 6
aload 4
invokevirtual org.jruby.util.JarCache$JarIndex.isValid:()Z
ifne 6
4: aload 4
invokevirtual org.jruby.util.JarCache$JarIndex.release:()V
5: aconst_null
astore 4
6: StackMap locals: java.lang.String java.util.Map org.jruby.util.JarCache$JarIndex
StackMap stack:
aload 4
ifnonnull 16
7: new org.jruby.util.JarCache$JarIndex
dup
aload 1
invokespecial org.jruby.util.JarCache$JarIndex.<init>:(Ljava/lang/String;)V
astore 4
8: aload 0
getfield org.jruby.util.JarCache.indexCache:Ljava/util/Map;
aload 2
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: goto 16
StackMap locals:
StackMap stack: java.io.IOException
10: pop
11: aload 3
monitorexit
12: aconst_null
areturn
13: StackMap locals:
StackMap stack: java.security.AccessControlException
pop
14: aload 3
monitorexit
15: aconst_null
areturn
16: StackMap locals:
StackMap stack:
aload 4
aload 3
monitorexit
17: areturn
end local 4 18: StackMap locals: org.jruby.util.JarCache java.lang.String java.lang.String java.util.Map
StackMap stack: java.lang.Throwable
aload 3
monitorexit
19: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/jruby/util/JarCache;
0 20 1 jarPath Ljava/lang/String;
1 20 2 cacheKey Ljava/lang/String;
3 18 4 index Lorg/jruby/util/JarCache$JarIndex;
Exception table:
from to target type
7 9 10 Class java.io.IOException
7 9 13 Class java.security.AccessControlException
2 12 18 any
13 15 18 any
16 17 18 any
18 19 18 any
MethodParameters:
Name Flags
jarPath
public boolean remove(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: aload 0
getfield org.jruby.util.JarCache.indexCache:Ljava/util/Map;
dup
astore 3
monitorenter
2: aload 0
getfield org.jruby.util.JarCache.indexCache:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.util.JarCache$JarIndex
astore 4
start local 4 3: aload 4
ifnonnull 6
4: aload 3
monitorexit
5: iconst_0
ireturn
6: StackMap locals: java.lang.String java.util.Map org.jruby.util.JarCache$JarIndex
StackMap stack:
aload 4
invokevirtual org.jruby.util.JarCache$JarIndex.release:()V
7: aload 0
getfield org.jruby.util.JarCache.indexCache:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 3
monitorexit
9: iconst_1
ireturn
end local 4 10: StackMap locals: org.jruby.util.JarCache java.lang.String java.lang.String java.util.Map
StackMap stack: java.lang.Throwable
aload 3
monitorexit
11: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/util/JarCache;
0 12 1 jarPath Ljava/lang/String;
1 12 2 cacheKey Ljava/lang/String;
3 10 4 index Lorg/jruby/util/JarCache$JarIndex;
Exception table:
from to target type
2 5 10 any
6 9 10 any
10 11 10 any
MethodParameters:
Name Flags
jarPath
}
SourceFile: "JarCache.java"
NestMembers:
org.jruby.util.JarCache$JarIndex
InnerClasses:
JarIndex = org.jruby.util.JarCache$JarIndex of org.jruby.util.JarCache