Re: RFR: 8297495: j.u.concurrent updates for JDK 20 [v2]

2022-12-05 Thread Viktor Klang
On Mon, 5 Dec 2022 10:33:38 GMT, Alan Bateman wrote: >> src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 2920: >> >>> 2918: * @since 20 >>> 2919: */ >>> 2920: public ForkJoinTask externalSubmit(ForkJoinTask task) { >> >> @AlanBateman Does it make sense to c

Re: RFR: 8297495: j.u.concurrent updates for JDK 20 [v2]

2022-12-05 Thread Alan Bateman
On Mon, 5 Dec 2022 10:16:22 GMT, Viktor Klang wrote: >> Alan Bateman has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains six additional >> commits s

Re: RFR: 8297495: j.u.concurrent updates for JDK 20 [v2]

2022-12-05 Thread Viktor Klang
On Thu, 1 Dec 2022 14:46:48 GMT, Alan Bateman wrote: >> The proposed updates for JDK 20 are: >> >> - ForkJoinPool.externalSubmit >> - ForkJoinWorkerThread.getQueuedTaskCount >> >> These methods will be used to improve the Thread.yield implementation for >> virtual threads. The range of alter

Re: RFR: 8297495: j.u.concurrent updates for JDK 20 [v2]

2022-12-04 Thread Jaikiran Pai
On Thu, 1 Dec 2022 14:46:48 GMT, Alan Bateman wrote: >> The proposed updates for JDK 20 are: >> >> - ForkJoinPool.externalSubmit >> - ForkJoinWorkerThread.getQueuedTaskCount >> >> These methods will be used to improve the Thread.yield implementation for >> virtual threads. The range of alter

Re: RFR: 8297495: j.u.concurrent updates for JDK 20 [v2]

2022-12-01 Thread Alan Bateman
> The proposed updates for JDK 20 are: > > - ForkJoinPool.externalSubmit > - ForkJoinWorkerThread.getQueuedTaskCount > > These methods will be used to improve the Thread.yield implementation for > virtual threads. The range of alternatives explored include not exposing an > API and protected

Re: RFR: 8297495: j.u.concurrent updates for JDK 20

2022-11-28 Thread Jaikiran Pai
On Wed, 23 Nov 2022 12:40:05 GMT, Alan Bateman wrote: > The proposed updates for JDK 20 are: > > - ForkJoinPool.externalSubmit > - ForkJoinWorkerThread.getQueuedTaskCount > > These methods will be used to improve the Thread.yield implementation for > virtual threads. The range of alternative

Re: RFR: 8297495: j.u.concurrent updates for JDK 20

2022-11-28 Thread Jaikiran Pai
On Wed, 23 Nov 2022 12:40:05 GMT, Alan Bateman wrote: > The proposed updates for JDK 20 are: > > - ForkJoinPool.externalSubmit > - ForkJoinWorkerThread.getQueuedTaskCount > > These methods will be used to improve the Thread.yield implementation for > virtual threads. The range of alternative