Re: RFR: 8319447: Improve performance of delayed task handling [v6]

2025-03-05 Thread Sunmisc Unsafe
On Wed, 5 Mar 2025 15:13:06 GMT, Viktor Klang wrote: >> Doug Lea has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Reduce volatile reads > > src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 3741: > >> 3739: publ

Re: RFR: 8319447: Improve performance of delayed task handling

2025-02-25 Thread Sunmisc Unsafe
On Thu, 20 Feb 2025 22:35:07 GMT, Sunmisc Unsafe wrote: >> (Copied from https://bugs.openjdk.org/browse/JDK-8319447) >> >> The problems addressed by this CR/PR are that ScheduledThreadPoolExecutor is >> both ill-suited for many (if not most) of its applications,

Re: RFR: 8319447: Improve performance of delayed task handling

2025-02-20 Thread Sunmisc Unsafe
On Wed, 19 Feb 2025 16:07:56 GMT, Doug Lea wrote: > (Copied from https://bugs.openjdk.org/browse/JDK-8319447) > > The problems addressed by this CR/PR are that ScheduledThreadPoolExecutor is > both ill-suited for many (if not most) of its applications, and is a > performance bottleneck (as see

Re: RFR: 8333833: UUID toString removes the use of ByteArrayLittleEndian [v2]

2024-06-08 Thread Sunmisc Unsafe
On Sat, 8 Jun 2024 06:40:39 GMT, Shaojin Wen wrote: >> After PR #16245, C2 optimizes stores into primitive arrays by combining >> values ​​into larger stores. In the UUID.toString method, >> ByteArrayLittleEndian can be removed, making the code more elegant and >> faster. > > Shaojin Wen has u

Re: RFR: 8322732: ForkJoinPool may underutilize cores in async mode [v2]

2024-05-23 Thread Sunmisc Unsafe
On Thu, 16 May 2024 10:29:48 GMT, Sunmisc Unsafe wrote: >> Doug Lea has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Address review comments > > Maybe I don't quite understand, or I don't hav

Re: RFR: 8322732: ForkJoinPool may underutilize cores in async mode [v3]

2024-05-22 Thread Sunmisc Unsafe
On Sun, 12 May 2024 13:05:48 GMT, Doug Lea wrote: >> The goal is to reduce the worst form of contention: when queue arrays are >> laid out adjacently in memory. Increasing sizes has some impact but with >> diminishing returns. Thanks for the comment as a reminder that I haven't >> rechecked th

Re: RFR: 8322732: ForkJoinPool may underutilize cores in async mode [v2]

2024-05-16 Thread Sunmisc Unsafe
On Sun, 12 May 2024 13:12:24 GMT, Doug Lea wrote: >> This set of changes address causes of poor utilization with small numbers of >> cores due to overly aggressive contention avoidance. A number of further >> adjustments were needed to still avoid most contention effects in >> deployments with