public final class com.fasterxml.jackson.core.util.InternCache extends java.util.concurrent.ConcurrentHashMap<java.lang.String, java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.fasterxml.jackson.core.util.InternCache
super_class: java.util.concurrent.ConcurrentHashMap
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int MAX_ENTRIES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 180
public static final com.fasterxml.jackson.core.util.InternCache instance;
descriptor: Lcom/fasterxml/jackson/core/util/InternCache;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.fasterxml.jackson.core.util.InternCache
dup
invokespecial com.fasterxml.jackson.core.util.InternCache.<init>:()V
putstatic com.fasterxml.jackson.core.util.InternCache.instance:Lcom/fasterxml/jackson/core/util/InternCache;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
sipush 180
ldc 0.8
iconst_4
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(IFI)V
1: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield com.fasterxml.jackson.core.util.InternCache.lock:Ljava/lang/Object;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/fasterxml/jackson/core/util/InternCache;
public java.lang.String intern(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.fasterxml.jackson.core.util.InternCache.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
areturn
2: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual com.fasterxml.jackson.core.util.InternCache.size:()I
sipush 180
if_icmplt 10
3: aload 0
getfield com.fasterxml.jackson.core.util.InternCache.lock:Ljava/lang/Object;
dup
astore 3
monitorenter
4: aload 0
invokevirtual com.fasterxml.jackson.core.util.InternCache.size:()I
sipush 180
if_icmplt 6
5: aload 0
invokevirtual com.fasterxml.jackson.core.util.InternCache.clear:()V
6: StackMap locals: java.lang.Object
StackMap stack:
aload 3
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 3
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.intern:()Ljava/lang/String;
astore 2
11: aload 0
aload 2
aload 2
invokevirtual com.fasterxml.jackson.core.util.InternCache.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/fasterxml/jackson/core/util/InternCache;
0 13 1 input Ljava/lang/String;
1 13 2 result Ljava/lang/String;
Exception table:
from to target type
4 7 8 any
8 9 8 any
MethodParameters:
Name Flags
input
}
Signature: Ljava/util/concurrent/ConcurrentHashMap<Ljava/lang/String;Ljava/lang/String;>;
SourceFile: "InternCache.java"