RFR: 8319447: Improve performance of delayed task handling [v2]

Doug Lea dl at openjdk.org
Sat Feb 22 12:23:00 UTC 2025


On Fri, 21 Feb 2025 16:52:41 GMT, Viktor Klang <vklang at openjdk.org> wrote:

>> Doug Lea has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Address feedback
>
> src/java.base/share/classes/java/util/concurrent/ForkJoinTask.java line 1668:
> 
>> 1666:                      t.interrupt();
>> 1667:                  } catch (Throwable ignore) {
>> 1668:                  }
> 
> @DougLea This is just for peace of mind, I presume?

Yes. We don't think there are any cases left where interrupt can throw a VM error, but still can't strictly rule it out.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/23702#discussion_r1966505505


More information about the core-libs-dev mailing list