classes.io.netty.util.internal.chmv8.ForkJoinTask.class Maven / Gradle / Ivy
???? 21 )io/netty/util/internal/chmv8/ForkJoinTask `Ljava/lang/Object;Ljava/util/concurrent/Future;Ljava/io/Serializable; java/lang/Object java/util/concurrent/Future java/io/Serializable ForkJoinTask.java 9io/netty/util/internal/chmv8/ForkJoinTask$AdaptedCallable AdaptedCallable ?io/netty/util/internal/chmv8/ForkJoinTask$RunnableExecuteAction RunnableExecuteAction ?io/netty/util/internal/chmv8/ForkJoinTask$AdaptedRunnableAction AdaptedRunnableAction 9io/netty/util/internal/chmv8/ForkJoinTask$AdaptedRunnable AdaptedRunnable 7io/netty/util/internal/chmv8/ForkJoinTask$ExceptionNode
ExceptionNode +io/netty/util/internal/chmv8/ForkJoinTask$1 3io/netty/util/internal/chmv8/ForkJoinPool$WorkQueue )io/netty/util/internal/chmv8/ForkJoinPool WorkQueue status I DONE_MASK? NORMAL CANCELLED? EXCEPTIONAL? SIGNAL SMASK ?? exceptionTable :[Lio/netty/util/internal/chmv8/ForkJoinTask$ExceptionNode; exceptionTableLock *Ljava/util/concurrent/locks/ReentrantLock; exceptionTableRefQueue Ljava/lang/ref/ReferenceQueue; 2Ljava/lang/ref/ReferenceQueue; EXCEPTION_MAP_CAPACITY serialVersionUID J?֣6Vy? U Lsun/misc/Unsafe; STATUS ()V > ?
@ this 0Lio/netty/util/internal/chmv8/ForkJoinTask; +Lio/netty/util/internal/chmv8/ForkJoinTask;
setCompletion (I)I ! " G ; < I = 8 K sun/misc/Unsafe M compareAndSwapInt (Ljava/lang/Object;JII)Z O P
N Q notifyAll S ?
T java/lang/Throwable V s
completion doExec ()I exec ()Z \ ]
^ setExceptionalCompletion (Ljava/lang/Throwable;)I ` a
b E F
d completed Z rex Ljava/lang/Throwable; trySetSignal externalAwaitDone java/lang/InterruptedException l common +Lio/netty/util/internal/chmv8/ForkJoinPool; n o p -io/netty/util/internal/chmv8/CountedCompleter r externalHelpComplete 2(Lio/netty/util/internal/chmv8/CountedCompleter;)I t u
v tryExternalUnpush .(Lio/netty/util/internal/chmv8/ForkJoinTask;)Z x y
z Z [
| wait ~ ?
java/lang/Thread ?
currentThread ()Ljava/lang/Thread; ? ?
? ? interrupt ? ?
? ? ie Ljava/lang/InterruptedException; interrupted cp externalInterruptibleAwaitDone ? ]
? ?
m @ doJoin 1io/netty/util/internal/chmv8/ForkJoinWorkerThread ? workQueue 5Lio/netty/util/internal/chmv8/ForkJoinPool$WorkQueue; ? ? ? ? tryUnpush ? y
? pool ? o ? ? awaitJoin c(Lio/netty/util/internal/chmv8/ForkJoinPool$WorkQueue;Lio/netty/util/internal/chmv8/ForkJoinTask;)I ? ?
? k [
? wt 3Lio/netty/util/internal/chmv8/ForkJoinWorkerThread; w t Ljava/lang/Thread; doInvoke recordExceptionalCompletion java/lang/System ? identityHashCode (Ljava/lang/Object;)I ? ?
? ? 0 1 ? (java/util/concurrent/locks/ReentrantLock ? lock ? ?
? ? expungeStaleExceptions ? ?
? . / ? / |(Lio/netty/util/internal/chmv8/ForkJoinTask;Ljava/lang/Throwable;Lio/netty/util/internal/chmv8/ForkJoinTask$ExceptionNode;)V > ?
? get ()Ljava/lang/Object; ? ?
? next 9Lio/netty/util/internal/chmv8/ForkJoinTask$ExceptionNode; ? ? ? unlock ? ?
? ? e i h ex ? a
? internalPropagateException (Ljava/lang/Throwable;)V ? ?
? cancelIgnoringExceptions .(Lio/netty/util/internal/chmv8/ForkJoinTask;)V cancel (Z)Z ? ?
? .Lio/netty/util/internal/chmv8/ForkJoinTask<*>; clearExceptionalCompletion pred getThrowableException ()Ljava/lang/Throwable; ? i ? 2 3 ? java/lang/ref/ReferenceQueue ? poll ()Ljava/lang/ref/Reference; ? ?
? ? key x Ljava/lang/Object; helpExpungeStaleExceptions tryLock ? ]
? ? rethrow uncheckedThrow ? ?
? reportException (I)V *java/util/concurrent/CancellationException ?
? @ ? ?
? ? ?
? fork -()Lio/netty/util/internal/chmv8/ForkJoinTask; push ?
externalPush ?
join ? [
? ?
getRawResult
?
invoke ? [
invokeAll Y(Lio/netty/util/internal/chmv8/ForkJoinTask;Lio/netty/util/internal/chmv8/ForkJoinTask;)V
t1 t2 s1 s2 /([Lio/netty/util/internal/chmv8/ForkJoinTask;)V java/lang/NullPointerException
@ getException ?
tasks /[Lio/netty/util/internal/chmv8/ForkJoinTask<*>; ,[Lio/netty/util/internal/chmv8/ForkJoinTask; last .(Ljava/util/Collection;)Ljava/util/Collection; java/util/RandomAccess' java/util/List) java/util/Collection+ size- [,. toArray (([Ljava/lang/Object;)[Ljava/lang/Object;01,2$
5*. (I)Ljava/lang/Object; ?8*9 Ljava/util/Collection; Ljava/util/Collection; ts ALjava/util/List<+Lio/netty/util/internal/chmv8/ForkJoinTask<*>;>; Ljava/util/List; mayInterruptIfRunning isDone isCancelled isCompletedAbnormally isCompletedNormally completeExceptionally java/lang/RuntimeExceptionF java/lang/ErrorH > ?
GJ complete (Ljava/lang/Object;)V setRawResultNM
O value TV; quietlyComplete 'java/util/concurrent/ExecutionExceptionT ? [
V
UJ 4(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; %java/util/concurrent/TimeoutExceptionZ java/util/concurrent/TimeUnit\ toNanos (J)J^_
]` nanoTime ()Jbc
?d helpJoinOnce c(Lio/netty/util/internal/chmv8/ForkJoinPool$WorkQueue;Lio/netty/util/internal/chmv8/ForkJoinTask;)Vfg
h qlockj " k ? ?
m ctlo 8 p
tryCompensate (J)Zrs
t NANOSECONDS Ljava/util/concurrent/TimeUnit;vw ]x toMillisz_
]{ (J)V ~}
~ incrementActiveCount? ?
?
[ @ ms deadline p canBlock timeout unit ns quietlyJoin
quietlyInvoke helpQuiesce helpQuiescePool 8(Lio/netty/util/internal/chmv8/ForkJoinPool$WorkQueue;)V??
? quiesceCommonPool? ?
? reinitialize ? ?
? getPool -()Lio/netty/util/internal/chmv8/ForkJoinPool; inForkJoinPool tryUnfork getQueuedTaskCount commonSubmitterQueue 7()Lio/netty/util/internal/chmv8/ForkJoinPool$WorkQueue;??
? queueSize? [
? q getSurplusQueuedTaskCount? [
? peekNextLocalTask peek?
? pollNextLocalTask
nextLocalTask?
? pollTask nextTaskFor b(Lio/netty/util/internal/chmv8/ForkJoinPool$WorkQueue;)Lio/netty/util/internal/chmv8/ForkJoinTask;??
? getForkJoinTaskTag ()S setForkJoinTaskTag (S)S?? tag S compareAndSetForkJoinTaskTag (SS)Z adapt A(Ljava/lang/Runnable;)Lio/netty/util/internal/chmv8/ForkJoinTask; (Ljava/lang/Runnable;)V >?
? runnable Ljava/lang/Runnable; S(Ljava/lang/Runnable;Ljava/lang/Object;)Lio/netty/util/internal/chmv8/ForkJoinTask; )(Ljava/lang/Runnable;Ljava/lang/Object;)V >?
? result TT; L(Ljava/util/concurrent/Callable;)Lio/netty/util/internal/chmv8/ForkJoinTask; "(Ljava/util/concurrent/Callable;)V >?
? callable %Ljava/util/concurrent/Callable<+TT;>; Ljava/util/concurrent/Callable; writeObject (Ljava/io/ObjectOutputStream;)V java/io/IOException? java/io/ObjectOutputStream? defaultWriteObject? ?
???M
?? Ljava/io/ObjectOutputStream;
readObject (Ljava/io/ObjectInputStream;)V java/lang/ClassNotFoundException? java/io/ObjectInputStream? defaultReadObject? ?
??? ?
?? Ljava/io/ObjectInputStream; getUnsafe ()Lsun/misc/Unsafe; java/lang/SecurityException? 'java/security/PrivilegedActionException???
N?
@ java/security/AccessController? doPrivileged =(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;??
?? Could not initialize intrinsics? getCause? ?
?? *(Ljava/lang/String;Ljava/lang/Throwable;)V >?
G? )Ljava/security/PrivilegedActionException;
access$000 ()Ljava/lang/ref/ReferenceQueue; java/lang/Exception
? @
? @
? ! java/lang/Class getDeclaredField -(Ljava/lang/String;)Ljava/lang/reflect/Field;
objectFieldOffset (Ljava/lang/reflect/Field;)J
N
IJ k Ljava/lang/Class<*>; Ljava/lang/Class; Ljava/lang/Exception;
ConstantValue Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable
Exceptions 1(Lio/netty/util/internal/chmv8/ForkJoinTask<*>;)V 5(Ljava/lang/Throwable;)V^TT; 2()Lio/netty/util/internal/chmv8/ForkJoinTask; ()TV; _(Lio/netty/util/internal/chmv8/ForkJoinTask<*>;Lio/netty/util/internal/chmv8/ForkJoinTask<*>;)V 2([Lio/netty/util/internal/chmv8/ForkJoinTask<*>;)V j;>(Ljava/util/Collection;)Ljava/util/Collection; (TV;)V %(JLjava/util/concurrent/TimeUnit;)TV; 0()Lio/netty/util/internal/chmv8/ForkJoinTask<*>; D(Ljava/lang/Runnable;)Lio/netty/util/internal/chmv8/ForkJoinTask<*>; _(Ljava/lang/Runnable;TT;)Lio/netty/util/internal/chmv8/ForkJoinTask; m(Ljava/util/concurrent/Callable<+TT;>;)Lio/netty/util/internal/chmv8/ForkJoinTask;
SourceFile InnerClasses! @ ! " # " $ % " $ &