META-INF.modules.java.base.classes.java.util.concurrent.ForkJoinPool.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java.base Show documentation
Show all versions of java.base Show documentation
Bytecoder java.base Module
???? 7?
?? ?
f??
?
???
?
? ? ? ??
???
??? ?? ? ?
??
? ?
?? ?
?? ? ??
&? ? ??7y??? &?@ &?
??
??
?? ?? &? ???? ?
??
&?
? &?
?
V?
V?
? ????? &????? &? &?
?? ? ??????
?? ?? ?? ???
????
P??? ????
???
??
??? ?
??
??
?? &? &? ?
??
??
&??
&?
&? V?
V?
?? ?
?
?
V?
??
&?
&?
?
??
??
P?????
&?
??
&??
}?
??? ??
&?
? ?
&? ?
??
??
??
?
?
?`
?
??
??
?
?
?
?
?
?
!"#
?? $%
&
V'(
?*+
?-.
?01
?*3Y4
?5Y6?7?89
?:
?4
?;
V<= ?> ?
?@
&A?
&B
&CY:DEFG
?HIJKLM
?NOPQ
RST
??
U
V
W
?X
Y
Z[???????\]
&^
_
`
a
bcU ?d
?eH ?d?
bfgh
?ijkl
?mn
?o
?
pqr $InnocuousForkJoinWorkerThreadFactory InnerClassess ManagedBlocker WorkQueue "DefaultForkJoinWorkerThreadFactory ForkJoinWorkerThreadFactory SWIDTH I
ConstantValue SMASK MAX_CAP ? SQMASK ~ UNSIGNALLED SS_SEQ QLOCK OWNED FIFO SHUTDOWN
TERMINATED STOP QUIET DORMANT INITIAL_QUEUE_CAPACITY MAXIMUM_QUEUE_CAPACITY TOP_BOUND_SHIFT
"defaultForkJoinWorkerThreadFactory ?Ljava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory; modifyThreadPermission Ljava/lang/RuntimePermission; common #Ljava/util/concurrent/ForkJoinPool; COMMON_PARALLELISM COMMON_MAX_SPARES poolNumberSequence DEFAULT_KEEPALIVE J TIMEOUT_SLOP DEFAULT_COMMON_MAX_SPARES SEED_INCREMENT SP_MASK UC_MASK RC_SHIFT 0 RC_UNIT RC_MASK TC_SHIFT TC_UNIT TC_MASK
ADD_WORKER
stealCount keepAlive indexSeed bounds mode
workQueues .[Ljava/util/concurrent/ForkJoinPool$WorkQueue; workerNamePrefix Ljava/lang/String; factory ueh UncaughtExceptionHandler +Ljava/lang/Thread$UncaughtExceptionHandler; saturate Ljava/util/function/Predicate; Signature DLjava/util/function/Predicate<-Ljava/util/concurrent/ForkJoinPool;>; ctl RuntimeVisibleAnnotations &Ljdk/internal/vm/annotation/Contended; value fjpctl CTL Ljava/lang/invoke/VarHandle; MODE QA checkPermission ()V Code LineNumberTable LocalVariableTable security Ljava/lang/SecurityManager;
StackMapTablet contextWithPermissions A([Ljava/security/Permission;)Ljava/security/AccessControlContext; perm Ljava/security/Permission; perms [Ljava/security/Permission; permissions Ljava/security/Permissions;l
nextPoolId ()I createWorker ()Z rex Ljava/lang/Throwable; this fac ex wt +Ljava/util/concurrent/ForkJoinWorkerThread; tryAddWorker (J)V nc c registerWorker Z(Ljava/util/concurrent/ForkJoinWorkerThread;)Ljava/util/concurrent/ForkJoinPool$WorkQueue; q -Ljava/util/concurrent/ForkJoinPool$WorkQueue; probes v j an as am m ws n s handler tid idbits prefix wuJ deregisterWorker C(Ljava/util/concurrent/ForkJoinWorkerThread;Ljava/lang/Throwable;)V i lock Ljava/lang/Object; wid ns phase
signalWork np vp vt Ljava/lang/Thread; sp
tryCompensate 0(Ljava/util/concurrent/ForkJoinPool$WorkQueue;)I wp uc tsv State Ljava/lang/Thread$State; sat md pc tc bc unstable Z t LocalVariableTypeTablewx runWorker 0(Ljava/util/concurrent/ForkJoinPool$WorkQueue;)V d pred rc r scan 1(Ljava/util/concurrent/ForkJoinPool$WorkQueue;I)Z cap k #Ljava/util/concurrent/ForkJoinTask; qid a $[Ljava/util/concurrent/ForkJoinTask; b &Ljava/util/concurrent/ForkJoinTask<*>; '[Ljava/util/concurrent/ForkJoinTask<*>; awaitJoin T(Ljava/util/concurrent/ForkJoinPool$WorkQueue;Ljava/util/concurrent/ForkJoinTask;J)I ms block src id step task deadline seedy W(Ljava/util/concurrent/ForkJoinPool$WorkQueue;Ljava/util/concurrent/ForkJoinTask<*>;J)I helpQuiescePool qs localTask quiet empty source released prevSrc pollScan &(Z)Ljava/util/concurrent/ForkJoinTask; origin oldSum checkSum h nonempty submissionsOnly )(Z)Ljava/util/concurrent/ForkJoinTask<*>; nextTaskFor R(Ljava/util/concurrent/ForkJoinPool$WorkQueue;)Ljava/util/concurrent/ForkJoinTask; U(Ljava/util/concurrent/ForkJoinPool$WorkQueue;)Ljava/util/concurrent/ForkJoinTask<*>; externalPush &(Ljava/util/concurrent/ForkJoinTask;)V vs vn qa )(Ljava/util/concurrent/ForkJoinTask<*>;)V externalSubmit H(Ljava/util/concurrent/ForkJoinTask;)Ljava/util/concurrent/ForkJoinTask; (Ljava/util/concurrent/ForkJoinTask; h(Ljava/util/concurrent/ForkJoinTask;)Ljava/util/concurrent/ForkJoinTask; commonSubmitterQueue /()Ljava/util/concurrent/ForkJoinPool$WorkQueue; p tryExternalUnpush &(Ljava/util/concurrent/ForkJoinTask;)Z )(Ljava/util/concurrent/ForkJoinTask<*>;)Z externalHelpComplete +(Ljava/util/concurrent/CountedCompleter;I)I 'Ljava/util/concurrent/CountedCompleter; maxTasks *Ljava/util/concurrent/CountedCompleter<*>; .(Ljava/util/concurrent/CountedCompleter<*>;I)I helpComplete X(Ljava/util/concurrent/ForkJoinPool$WorkQueue;Ljava/util/concurrent/CountedCompleter;I)I [(Ljava/util/concurrent/ForkJoinPool$WorkQueue;Ljava/util/concurrent/CountedCompleter<*>;I)I getSurplusQueuedTaskCount pool tryTerminate (ZZ)Z running now enable (I)V parallelism o(ILjava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;Ljava/lang/Thread$UncaughtExceptionHandler;Z)V asyncMode ?(ILjava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;Ljava/lang/Thread$UncaughtExceptionHandler;ZIIILjava/util/function/Predicate;JLjava/util/concurrent/TimeUnit;)V corePoolSize maximumPoolSize minimumRunnable
keepAliveTime unit Ljava/util/concurrent/TimeUnit; corep maxSpares minAvailz ?(ILjava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;Ljava/lang/Thread$UncaughtExceptionHandler;ZIIILjava/util/function/Predicate<-Ljava/util/concurrent/ForkJoinPool;>;JLjava/util/concurrent/TimeUnit;)V newInstanceFromSystemProperty &(Ljava/lang/String;)Ljava/lang/Object; property className
Exceptions (B)V pp forCommonPoolOnly B
commonPool %()Ljava/util/concurrent/ForkJoinPool; invoke 7(Ljava/util/concurrent/ForkJoinTask;)Ljava/lang/Object; C(Ljava/util/concurrent/ForkJoinTask;)TT; execute (Ljava/lang/Runnable;)V job Ljava/lang/Runnable; submit D(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/ForkJoinTask; Ljava/util/concurrent/Callable; $Ljava/util/concurrent/Callable; d(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/ForkJoinTask; K(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/ForkJoinTask; result TT; W(Ljava/lang/Runnable;TT;)Ljava/util/concurrent/ForkJoinTask; 9(Ljava/lang/Runnable;)Ljava/util/concurrent/ForkJoinTask;{ <(Ljava/lang/Runnable;)Ljava/util/concurrent/ForkJoinTask<*>; invokeAll ((Ljava/util/Collection;)Ljava/util/List; f size tasks Ljava/util/Collection; futures Ljava/util/ArrayList; =Ljava/util/Collection<+Ljava/util/concurrent/Callable;>; 9Ljava/util/ArrayList;>;| ?(Ljava/util/Collection<+Ljava/util/concurrent/Callable;>;)Ljava/util/List;>;
getFactory A()Ljava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory; getUncaughtExceptionHandler -()Ljava/lang/Thread$UncaughtExceptionHandler; getParallelism par getCommonPoolParallelism getPoolSize getAsyncMode getRunningThreadCount getActiveThreadCount isQuiescent
getStealCount ()J count getQueuedTaskCount getQueuedSubmissionCount hasQueuedSubmissions pollSubmission %()Ljava/util/concurrent/ForkJoinTask; (()Ljava/util/concurrent/ForkJoinTask<*>; drainTasksTo (Ljava/util/Collection;)I ?Ljava/util/Collection<-Ljava/util/concurrent/ForkJoinTask<*>;>;} B(Ljava/util/Collection<-Ljava/util/concurrent/ForkJoinTask<*>;>;)I toString ()Ljava/lang/String; st qt ac level shutdown shutdownNow ()Ljava/util/List; (()Ljava/util/List; isTerminated
isTerminating
isShutdown awaitTermination #(JLjava/util/concurrent/TimeUnit;)Z millis timeout nanos awaitQuiescence startTime thread quiesceCommonPool managedBlock 5(Ljava/util/concurrent/ForkJoinPool$ManagedBlocker;)V blocker 2Ljava/util/concurrent/ForkJoinPool$ManagedBlocker; helpAsyncBlocker T(Ljava/util/concurrent/Executor;Ljava/util/concurrent/ForkJoinPool$ManagedBlocker;)V e Ljava/util/concurrent/Executor;~
newTaskFor M(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/RunnableFuture; runnable Y(Ljava/lang/Runnable;TT;)Ljava/util/concurrent/RunnableFuture; F(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/RunnableFuture; callable f(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/RunnableFuture; >(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future; E(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Future; 3(Ljava/lang/Runnable;)Ljava/util/concurrent/Future; l Lookup 'Ljava/lang/invoke/MethodHandles$Lookup; (Ljava/lang/ReflectiveOperationException; ensureLoaded Ljava/lang/Class; commonMaxSpares Ljava/lang/Class<*>;
SourceFile ForkJoinPool.java NestMembers?? !java/util/concurrent/ForkJoinPool???,-^? java/security/Permissions_?? "java/security/AccessControlContext java/security/ProtectionDomain??2M+???_ java/lang/Throwable??U4Z[??rs??NP??HKL +java/util/concurrent/ForkJoinPool$WorkQueue?IJF???[????????D4???_???_?_??{|??z???G??????QR???_ /java/util/concurrent/RejectedExecutionException .Thread limit exceeded replacing blocked worker???q !java/util/concurrent/ForkJoinTask???sE4?N??????][?????? %java/util/concurrent/CountedCompleter??????q?N??????|???T?T???q?_?s???? java/lang/NullPointerException?? )java/util/concurrent/ForkJoinWorkerThread /????./??\[???_?_????q???*+? "java/lang/IllegalArgumentException???? java/lang/StringBuilder
ForkJoinPool-??pq?? -worker-[\^_??????? java/lang/Class?? java/lang/Object??? 4java.util.concurrent.ForkJoinPool.common.parallelism?? 6java.util.concurrent.ForkJoinPool.common.threadFactory =java/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory 9java.util.concurrent.ForkJoinPool.common.exceptionHandler )java/lang/Thread$UncaughtExceptionHandler java/lang/Exception Fjava/util/concurrent/ForkJoinPool$InnocuousForkJoinWorkerThreadFactory1 ForkJoinPool.commonPool-worker-???? 7java/util/concurrent/ForkJoinTask$RunnableExecuteAction RunnableExecuteAction& 1java/util/concurrent/ForkJoinTask$AdaptedCallable AdaptedCallable? 1java/util/concurrent/ForkJoinTask$AdaptedRunnable AdaptedRunnable? 7java/util/concurrent/ForkJoinTask$AdaptedRunnableAction AdaptedRunnableAction java/util/ArrayList8q???s?? java/util/concurrent/Callable?????_ java/util/concurrent/Future??0?_?s?q s
Terminated Terminating
Shutting down Running [ , parallelism = , size = , active = , running = , steals = ?
, tasks = , submissions = ]c java/lang/InterruptedExceptionmi?es|??Ls java/lang/Longs?sur)*).)2
?
&java/lang/ReflectiveOperationException %java/lang/ExceptionInInitializerError? &java/util/concurrent/locks/LockSupport 6java.util.concurrent.ForkJoinPool.common.maximumSpares Djava/util/concurrent/ForkJoinPool$DefaultForkJoinWorkerThreadFactory java/lang/RuntimePermission modifyThread #java/util/concurrent/ForkJoinPool$1 ,java/util/concurrent/AbstractExecutorService 0java/util/concurrent/ForkJoinPool$ManagedBlocker java/lang/SecurityManager java/lang/String java/lang/Thread$State java/lang/Thread java/util/function/Predicate java/lang/invoke/VarHandle java/util/concurrent/TimeUnit java/lang/Runnable java/util/Iterator java/util/Collection java/util/concurrent/Executor %java/lang/invoke/MethodHandles$Lookup Hjava/util/concurrent/ForkJoinPool$InnocuousForkJoinWorkerThreadFactory$1 Fjava/util/concurrent/ForkJoinPool$DefaultForkJoinWorkerThreadFactory$1 java/lang/System getSecurityManager ()Ljava/lang/SecurityManager; (Ljava/security/Permission;)V add A(Ljava/security/CodeSource;Ljava/security/PermissionCollection;)V $([Ljava/security/ProtectionDomain;)V newThread P(Ljava/util/concurrent/ForkJoinPool;)Ljava/util/concurrent/ForkJoinWorkerThread; start
compareAndSet ((Ljava/util/concurrent/ForkJoinPool;JJ)Z setDaemon (Z)V setUncaughtExceptionHandler .(Ljava/lang/Thread$UncaughtExceptionHandler;)V Q(Ljava/util/concurrent/ForkJoinPool;Ljava/util/concurrent/ForkJoinWorkerThread;)V java/lang/Integer (I)Ljava/lang/String; concat &(Ljava/lang/String;)Ljava/lang/String; setName (Ljava/lang/String;)V workQueue nsteals weakCompareAndSet cancelAll array helpExpungeStaleExceptions rethrow (Ljava/lang/Throwable;)V stackPred owner unpark (Ljava/lang/Thread;)V getState ()Ljava/lang/Thread$State; BLOCKED WAITING test (Ljava/lang/Object;)Z yield &java/util/concurrent/ThreadLocalRandom nextSecondarySeed interrupted currentTimeMillis parkUntil (Ljava/lang/Object;J)V park (Ljava/lang/Object;)V top base
getAcquire J([Ljava/util/concurrent/ForkJoinTask;I)Ljava/util/concurrent/ForkJoinTask; [([Ljava/util/concurrent/ForkJoinTask;ILjava/util/concurrent/ForkJoinTask;Ljava/lang/Void;)Z topLevelExec T(Ljava/util/concurrent/ForkJoinTask;Ljava/util/concurrent/ForkJoinPool$WorkQueue;I)V helpCC ,(Ljava/util/concurrent/CountedCompleter;IZ)I tryRemoveAndExec status doExec nanoTime NANOSECONDS toMillis (J)J internalWait getAndAdd '(Ljava/util/concurrent/ForkJoinPool;J)V
nextLocalTask poll getProbe localInit tryLockPhase advanceProbe (I)I
lockedPush
currentThread ()Ljava/lang/Thread; push tryLockedUnpush ((Ljava/util/concurrent/ForkJoinPool;II)Z interrupt notifyAll java/lang/Runtime
getRuntime ()Ljava/lang/Runtime; availableProcessors java/lang/Math min (II)I MILLISECONDS max (JJ)J append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; getProperty java/lang/ClassLoader getSystemClassLoader ()Ljava/lang/ClassLoader; loadClass %(Ljava/lang/String;)Ljava/lang/Class; getConstructor 3([Ljava/lang/Class;)Ljava/lang/reflect/Constructor; java/lang/reflect/Constructor newInstance '([Ljava/lang/Object;)Ljava/lang/Object; parseInt (Ljava/lang/String;)I join ()Ljava/lang/Object; "(Ljava/util/concurrent/Callable;)V )(Ljava/lang/Runnable;Ljava/lang/Object;)V iterator ()Ljava/util/Iterator; hasNext next get (I)Ljava/lang/Object; quietlyJoin cancel (Z)Z acquireFence isApparentlyUnblocked queueSize isEmpty (J)Ljava/lang/StringBuilder; java/util/Collections emptyList toNanos wait isReleasable java/lang/invoke/MethodHandles lookup )()Ljava/lang/invoke/MethodHandles$Lookup; TYPE
findVarHandle R(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/VarHandle; arrayElementVarHandle /(Ljava/lang/Class;)Ljava/lang/invoke/VarHandle; java/security/AccessController doPrivileged 4(Ljava/security/PrivilegedAction;)Ljava/lang/Object; ! 2 ? X $ $ [ ? ! X " - # Z $ % & ' ( ) *+ ,- ./ 0 1
2 34 ? 54 _ 6 7 8 * 94 4 :4 B ; <