class org.ehcache.impl.internal.concurrent.ThreadLocalRandomUtil
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.ehcache.impl.internal.concurrent.ThreadLocalRandomUtil
super_class: java.lang.Object
{
static final sun.misc.Unsafe UNSAFE;
descriptor: Lsun/misc/Unsafe;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final long PROBE;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic org.ehcache.impl.internal.concurrent.ThreadLocalRandomUtil.getSMU:()Lsun/misc/Unsafe;
putstatic org.ehcache.impl.internal.concurrent.ThreadLocalRandomUtil.UNSAFE:Lsun/misc/Unsafe;
1: ldc Ljava/lang/Thread;
astore 0
start local 0 2: getstatic org.ehcache.impl.internal.concurrent.ThreadLocalRandomUtil.UNSAFE:Lsun/misc/Unsafe;
3: aload 0
ldc "threadLocalRandomProbe"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
4: invokevirtual sun.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic org.ehcache.impl.internal.concurrent.ThreadLocalRandomUtil.PROBE:J
end local 0 5: goto 8
StackMap locals:
StackMap stack: java.lang.Exception
6: astore 0
start local 0 7: new java.lang.Error
dup
aload 0
invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 8: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
2 5 0 tk Ljava/lang/Class<*>;
7 8 0 e Ljava/lang/Exception;
Exception table:
from to target type
1 5 6 Class java.lang.Exception
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/ehcache/impl/internal/concurrent/ThreadLocalRandomUtil;
static sun.misc.Unsafe getSMU();
descriptor: ()Lsun/misc/Unsafe;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: invokestatic sun.misc.Unsafe.getUnsafe:()Lsun/misc/Unsafe;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
3: invokedynamic run()Ljava/security/PrivilegedExceptionAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/ehcache/impl/internal/concurrent/ThreadLocalRandomUtil.lambda$0()Lsun/misc/Unsafe; (6)
()Lsun/misc/Unsafe;
4: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast sun.misc.Unsafe
5: areturn
6: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 0
start local 0 7: new java.lang.RuntimeException
dup
ldc "Could not initialize intrinsics"
aload 0
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
7 8 0 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
0 1 2 Class java.lang.SecurityException
3 5 6 Class java.security.PrivilegedActionException
static final int getProbe();
descriptor: ()I
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=0, args_size=0
0: getstatic org.ehcache.impl.internal.concurrent.ThreadLocalRandomUtil.UNSAFE:Lsun/misc/Unsafe;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
getstatic org.ehcache.impl.internal.concurrent.ThreadLocalRandomUtil.PROBE:J
invokevirtual sun.misc.Unsafe.getInt:(Ljava/lang/Object;J)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
static final int advanceProbe(int);
descriptor: (I)I
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=1, args_size=1
start local 0 0: iload 0
iload 0
bipush 13
ishl
ixor
istore 0
1: iload 0
iload 0
bipush 17
iushr
ixor
istore 0
2: iload 0
iload 0
iconst_5
ishl
ixor
istore 0
3: getstatic org.ehcache.impl.internal.concurrent.ThreadLocalRandomUtil.UNSAFE:Lsun/misc/Unsafe;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
getstatic org.ehcache.impl.internal.concurrent.ThreadLocalRandomUtil.PROBE:J
iload 0
invokevirtual sun.misc.Unsafe.putInt:(Ljava/lang/Object;JI)V
4: iload 0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 probe I
MethodParameters:
Name Flags
probe
static final void localInit();
descriptor: ()V
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.util.concurrent.ThreadLocalRandom.current:()Ljava/util/concurrent/ThreadLocalRandom;
pop
1: return
LocalVariableTable:
Start End Slot Name Signature
static java.lang.String mapEntryToString(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.ehcache.impl.internal.concurrent.ThreadLocalRandomUtil.objectToString:(Ljava/lang/Object;)Ljava/lang/String;
dup
astore 2
start local 2 1: invokevirtual java.lang.String.length:()I
dup
istore 4
start local 4 2: aload 1
invokestatic org.ehcache.impl.internal.concurrent.ThreadLocalRandomUtil.objectToString:(Ljava/lang/Object;)Ljava/lang/String;
dup
astore 3
start local 3 3: invokevirtual java.lang.String.length:()I
dup
istore 5
start local 5 4: iadd
5: iconst_1
6: iadd
newarray 5
7: astore 6
start local 6 8: aload 2
iconst_0
iload 4
aload 6
iconst_0
invokevirtual java.lang.String.getChars:(II[CI)V
9: aload 6
iload 4
bipush 61
castore
10: aload 3
iconst_0
iload 5
aload 6
iload 4
iconst_1
iadd
invokevirtual java.lang.String.getChars:(II[CI)V
11: new java.lang.String
dup
aload 6
invokespecial java.lang.String.<init>:([C)V
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 key Ljava/lang/Object;
0 12 1 val Ljava/lang/Object;
1 12 2 k Ljava/lang/String;
3 12 3 v Ljava/lang/String;
2 12 4 klen I
4 12 5 vlen I
8 12 6 chars [C
MethodParameters:
Name Flags
key
val
private static java.lang.String objectToString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ifnull 2
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
dup
astore 1
start local 1 1: ifnonnull 3
end local 1 StackMap locals:
StackMap stack:
2: ldc "null"
goto 4
start local 1 StackMap locals: java.lang.String
StackMap stack:
3: aload 1
end local 1 StackMap locals: java.lang.Object
StackMap stack: java.lang.String
4: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 x Ljava/lang/Object;
1 2 1 s Ljava/lang/String;
3 4 1 s Ljava/lang/String;
MethodParameters:
Name Flags
x
private static sun.misc.Unsafe lambda$0();
descriptor: ()Lsun/misc/Unsafe;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=0
0: ldc Lsun/misc/Unsafe;
astore 0
start local 0 1: aload 0
invokevirtual java.lang.Class.getDeclaredFields:()[Ljava/lang/reflect/Field;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 8
StackMap locals: java.lang.Class top int int java.lang.reflect.Field[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 1
iconst_1
invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
4: aload 1
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 5: aload 0
aload 5
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 7
6: aload 0
aload 5
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.misc.Unsafe
areturn
end local 5 end local 1 7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
iload 3
if_icmplt 2
9: new java.lang.NoSuchFieldError
dup
ldc "the Unsafe"
invokespecial java.lang.NoSuchFieldError.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 10 0 k Ljava/lang/Class<Lsun/misc/Unsafe;>;
3 7 1 f Ljava/lang/reflect/Field;
5 7 5 x Ljava/lang/Object;
Exceptions:
throws java.lang.Exception
}
SourceFile: "ThreadLocalRandomUtil.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles