io.netty.util.internal.ThreadLocalRandom.class Maven / Gradle / Ivy
???? 26 (io/netty/util/internal/ThreadLocalRandom java/util/Random ThreadLocalRandom.java *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 5 getInitialSeedUniquifier ()J java/lang/InterruptedException 9 java/lang/Object ; ? java/util/concurrent/TimeUnit A SECONDS Ljava/util/concurrent/TimeUnit; C D B E toNanos (J)J G H
B I java/lang/System K nanoTime M 8
L N P "java/util/concurrent/BlockingQueue R poll ()Ljava/lang/Object; T U S V java/lang/Long X NANOSECONDS Z D B [ 4(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; T ] S ^ longValue ` 8
Y a c KFailed to generate a seed from SecureRandom due to an InterruptedException. e -io/netty/util/internal/logging/InternalLogger g warn (Ljava/lang/String;)V i j h k m interrupt ()V o p
q RFailed to generate a seed from SecureRandom within {} seconds. Not enough entropy? s valueOf (J)Ljava/lang/Long; u v
Y w '(Ljava/lang/String;Ljava/lang/Object;)V i y h z2U??3?? reverse ~ H
Y
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 ? 8
? ? 7 8
??? ?3??
compareAndSet (JJ)Z ? ?
? ? isDebugEnabled ()Z ? ? h ? 6-Dio.netty.initialSeedUniquifier: 0x%016x (took %d ms) ? toMillis ? H
B ? java/lang/String ? format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; ? ?
? ? debug ? j h ? )-Dio.netty.initialSeedUniquifier: 0x%016x ? current
actualCurrent next mix64?Q???U???ι???S z ? 8
? ? 4
? &