RFR: 8336384: AbstractQueuedSynchronizer.acquire should cancel acquire when failing due to a LinkageError or other errors [v2]
Doug Lea
dl at openjdk.org
Mon Aug 12 21:40:33 UTC 2024
On Mon, 12 Aug 2024 16:08:31 GMT, Viktor Klang <vklang at openjdk.org> wrote:
>> Viktor Klang has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Catching both Error and RuntimeException
>
> src/java.base/share/classes/java/util/concurrent/locks/AbstractQueuedLongSynchronizer.java line 381:
>
>> 379: else
>> 380: break;
>> 381: } catch (Error | RuntimeException ex) {
>
> @DougLea @AlanBateman Changed to Error | RuntimeException here and for AQS
lgtm!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20548#discussion_r1714396285
More information about the core-libs-dev
mailing list