On Mon, 11 Aug 2025 16:40:28 GMT, Viktor Klang <[email protected]> wrote:
>> Doug Lea has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Avoid underutilization on resize
>
> src/java.base/share/classes/java/lang/VirtualThread.java line 324:
>
>> 322: } else {
>> 323: executor.execute(task);
>> 324: }
>
> Is this worth special-casing—IIRC FJP::submit adapts the task if needed
> already.
Ah, this is about getting a `AdaptedRunnableAction` rather than a
`RunnableExecuteAction` (where the latter is an InterruptibleTask, and the
former isn't). Sounds worth of a comment here?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26479#discussion_r2267400540