io.netty.util.Recycler$Stack.class Maven / Gradle / Ivy
???? 2 ? io/netty/util/Recycler$Stack (Ljava/lang/Object; java/lang/Object
Recycler.java $io/netty/util/Recycler$DefaultHandle io/netty/util/Recycler
DefaultHandle %io/netty/util/Recycler$WeakOrderQueue WeakOrderQueue Stack parent Lio/netty/util/Recycler; Lio/netty/util/Recycler; thread Ljava/lang/Thread; availableSharedCapacity +Ljava/util/concurrent/atomic/AtomicInteger; maxDelayedQueues I maxCapacity ratioMask elements '[Lio/netty/util/Recycler$DefaultHandle; *[Lio/netty/util/Recycler$DefaultHandle<*>; size handleRecycleCount cursor 'Lio/netty/util/Recycler$WeakOrderQueue; prev head 1(Lio/netty/util/Recycler;Ljava/lang/Thread;IIII)V ()V $ &
' ) + - / )java/util/concurrent/atomic/AtomicInteger 1
access$800 ()I 3 4
5 java/lang/Math 7 max (II)I 9 :
8 ; (I)V $ =
2 > @ access$1600 B 4
C min E :
8 F H J L this #Lio/netty/util/Recycler$Stack; Lio/netty/util/Recycler$Stack; maxSharedCapacityFactor setHead *(Lio/netty/util/Recycler$WeakOrderQueue;)V # ! T access$1700 Q(Lio/netty/util/Recycler$WeakOrderQueue;Lio/netty/util/Recycler$WeakOrderQueue;)V V W
X queue increaseCapacity (I)I java/util/Arrays ] copyOf )([Ljava/lang/Object;I)[Ljava/lang/Object; _ `
^ a expectedCapacity newCapacity pop (()Lio/netty/util/Recycler$DefaultHandle; h scavenge ()Z j k
l access$1100 )(Lio/netty/util/Recycler$DefaultHandle;)I n o
p access$1500 r o
s java/lang/IllegalStateException u recycled multiple times w (Ljava/lang/String;)V $ y
v z access$1502 *(Lio/netty/util/Recycler$DefaultHandle;I)I | }
~ access$1102 ? }
? ret &Lio/netty/util/Recycler$DefaultHandle; scavengeSome ? k
? " ! ? ! ? transfer !(Lio/netty/util/Recycler$Stack;)Z ? ?
? access$1800 P(Lio/netty/util/Recycler$WeakOrderQueue;)Lio/netty/util/Recycler$WeakOrderQueue; ? ?
? access$1900 F(Lio/netty/util/Recycler$WeakOrderQueue;)Ljava/lang/ref/WeakReference; ? ?
? java/lang/ref/WeakReference ? get ()Ljava/lang/Object; ? ?
? ? hasFinalData ? k
? next success Z push )(Lio/netty/util/Recycler$DefaultHandle;)V java/lang/Thread ?
currentThread ()Ljava/lang/Thread; ? ?
? ? pushNow ? ?
? pushLater ;(Lio/netty/util/Recycler$DefaultHandle;Ljava/lang/Thread;)V ? ?
? item )Lio/netty/util/Recycler$DefaultHandle<*>; recycled already ? access$2000 ? 4
?
dropHandle )(Lio/netty/util/Recycler$DefaultHandle;)Z ? ?
? access$2100 ,()Lio/netty/util/concurrent/FastThreadLocal; ? ?
? (io/netty/util/concurrent/FastThreadLocal ?
? ?
java/util/Map ? &(Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? 4 ? ? DUMMY ? !
? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? allocate Y(Lio/netty/util/Recycler$Stack;Ljava/lang/Thread;)Lio/netty/util/Recycler$WeakOrderQueue; ? ?
? add ? ?
? delayedRecycled YLjava/util/Map;Lio/netty/util/Recycler$WeakOrderQueue;>; Ljava/util/Map; hasBeenRecycled ? ? ? handle newHandle !(Lio/netty/util/Recycler$Stack;)V $ ?
?
access$600 G(Lio/netty/util/Recycler$Stack;)[Lio/netty/util/Recycler$DefaultHandle; x0
access$700 !(Lio/netty/util/Recycler$Stack;)I
access$702 "(Lio/netty/util/Recycler$Stack;I)I x1 Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable 6(Lio/netty/util/Recycler;Ljava/lang/Thread;IIII)V
StackMapTable -()Lio/netty/util/Recycler$DefaultHandle; ,(Lio/netty/util/Recycler$DefaultHandle<*>;)V >(Lio/netty/util/Recycler$DefaultHandle<*>;Ljava/lang/Thread;)V ,(Lio/netty/util/Recycler$DefaultHandle<*>;)Z
SourceFile InnerClasses 0 ? ? ! " ! B # ! $ % ? ? H*? (*? **+? ,*,? .*? 0*? 2Yl? 6?