classes.io.netty.util.internal.ThreadLocalRandom.class Maven / Gradle / Ivy
???? 29 (io/netty/util/internal/ThreadLocalRandom java/util/Random ThreadLocalRandom.java *io/netty/util/internal/ThreadLocalRandom$4 *io/netty/util/internal/ThreadLocalRandom$3 *io/netty/util/internal/ThreadLocalRandom$2
*io/netty/util/internal/ThreadLocalRandom$1 )java/lang/Thread$UncaughtExceptionHandler java/lang/Thread UncaughtExceptionHandler logger /Lio/netty/util/internal/logging/InternalLogger; seedUniquifier (Ljava/util/concurrent/atomic/AtomicLong; initialSeedUniquifier J seedGeneratorThread Ljava/lang/Thread; seedQueue $Ljava/util/concurrent/BlockingQueue; 6Ljava/util/concurrent/BlockingQueue; seedGeneratorStartTime seedGeneratorEndTime
multiplier ???m addend mask ?????? rnd initialized Z pad0 pad1 pad2 pad3 pad4 pad5 pad6 pad7 serialVersionUID??Oz?vs setInitialSeedUniquifier (J)V 9 getInitialSeedUniquifier ()J java/lang/InterruptedException = java/lang/Object ? C java/util/concurrent/TimeUnit E SECONDS Ljava/util/concurrent/TimeUnit; G H F I toNanos (J)J K L
F M java/lang/System O nanoTime Q <
P R T "java/util/concurrent/BlockingQueue V poll ()Ljava/lang/Object; X Y W Z java/lang/Long \ NANOSECONDS ^ H F _ 4(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; X a W b longValue d <
] e g KFailed to generate a seed from SecureRandom due to an InterruptedException. i -io/netty/util/internal/logging/InternalLogger k warn (Ljava/lang/String;)V m n l o q interrupt ()V s t
u RFailed to generate a seed from SecureRandom within {} seconds. Not enough entropy? w valueOf (J)Ljava/lang/Long; y z
] { '(Ljava/lang/String;Ljava/lang/Object;)V m } l ~2U??3?? reverse ? L
] ?
currentThread ()Ljava/lang/Thread; ? ?
? ? java/lang/Throwable ? seed Ljava/lang/Long; e Ljava/lang/InterruptedException; waitTime timeoutSeconds deadLine interrupted newSeed ? &java/util/concurrent/atomic/AtomicLong ? get ? <
? ? ; <
??? ?3??
compareAndSet (JJ)Z ? ?
? ? isDebugEnabled ()Z ? ? l ? 6-Dio.netty.initialSeedUniquifier: 0x%016x (took %d ms) ? toMillis ? L
F ? java/lang/String ? format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; ? ?
? ? debug ? n l ? )-Dio.netty.initialSeedUniquifier: 0x%016x ? current
actualCurrent next mix64?Q???U???ι???S z ? <
? ? 8
? * + ? this *Lio/netty/util/internal/ThreadLocalRandom; ,()Lio/netty/util/internal/ThreadLocalRandom; -io/netty/util/internal/InternalThreadLocalMap ? 1()Lio/netty/util/internal/InternalThreadLocalMap; ? ?
? ? random ? ?
? ? setSeed 'java/lang/UnsupportedOperationException ? ? t
? ? ) ? (I)I bits I nextInt (II)I "java/lang/IllegalArgumentException ?
? ? ? ?
? least bound nextLong n must be positive ? ? n
? ? ??? ? ?
? half nextn n offset (JJ)J ? L
?
nextDouble (D)D ()D ? ?
? D (DD)D
access$002 x0
access$100 &()Ljava/util/concurrent/BlockingQueue;
access$200 1()Lio/netty/util/internal/logging/InternalLogger; 4io/netty/util/internal/logging/InternalLoggerFactory getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;
? ?
? java/security/AccessController
doPrivileged 4(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
? java/lang/Boolean booleanValue ?
(java/util/concurrent/LinkedBlockingQueue
? initialSeedUniquifierGenerator
? setDaemon (Z)V
!
? setUncaughtExceptionHandler .(Ljava/lang/Thread$UncaughtExceptionHandler;)V$%
& start( t
) currentTimeMillis+ <
P, ? L
. secureRandom Signature
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile InnerClasses 1 J 1 J 2 ! # 2 $ &