RFR: JDK-8319662 ForkJoinPool trims worker threads too slowly [v8]
Viktor Klang
vklang at openjdk.org
Mon Jan 15 11:36:30 UTC 2024
On Sat, 13 Jan 2024 19:46:05 GMT, He-Pin(kerr) <duke at openjdk.org> wrote:
>> Cool, I just encounter this problem, when I migrate to Virtual threads and set `jdk.virtualThreadScheduler.maxPoolSize` to 2500.
>>
>> Will this change backport to j21u, thanks.
>
>> @He-Pin I tried to backport this patch for you just now [1]. But it can't be automatically backported because JDK-8288899 [2][3] also revised the file `src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java`. Do you want to backport these two patches? Or only this one?
>>
>> [1] https://github.com/openjdk/jdk/commit/cc25d8b12bbab9dde9ade7762927dcb8d27e23c5#commitcomment-136982984
>> [2] https://bugs.openjdk.org/browse/JDK-8288899
>> [3] https://git.openjdk.org/jdk/pull/14301
>
> I think the related issue should be backported too.
@He-Pin Hi He-Pin, I think @AlanBateman is right, first check if most recent 22-EA build addresses the issue you are seeing.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16725#issuecomment-1891996543
More information about the core-libs-dev
mailing list