equal
deleted
inserted
replaced
90 * Version for InnocuousForkJoinWorkerThread. |
90 * Version for InnocuousForkJoinWorkerThread. |
91 */ |
91 */ |
92 ForkJoinWorkerThread(ForkJoinPool pool, ThreadGroup threadGroup, |
92 ForkJoinWorkerThread(ForkJoinPool pool, ThreadGroup threadGroup, |
93 AccessControlContext acc) { |
93 AccessControlContext acc) { |
94 super(threadGroup, null, "aForkJoinWorkerThread"); |
94 super(threadGroup, null, "aForkJoinWorkerThread"); |
95 U.putOrderedObject(this, INHERITEDACCESSCONTROLCONTEXT, acc); |
95 U.putObjectRelease(this, INHERITEDACCESSCONTROLCONTEXT, acc); |
96 eraseThreadLocals(); // clear before registering |
96 eraseThreadLocals(); // clear before registering |
97 this.pool = pool; |
97 this.pool = pool; |
98 this.workQueue = pool.registerWorker(this); |
98 this.workQueue = pool.registerWorker(this); |
99 } |
99 } |
100 |
100 |