On Thu, 12 Nov 2026 16:57:48 GMT, Viktor Klang <[email protected]> wrote:
>> One possible venue of exception propagation is to ferry the exception to the >> Relay's task (presuming that it hasn't already been completed). This PR adds >> a regression test to ensure that exceptions are propagated for all the >> different modes of sorting. >> >> One potential open question here is whether Arrays.parallelSort(…, >> Comparator) might need a CSR or not. >> >> >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Viktor Klang has updated the pull request incrementally with one additional > commit since the last revision: > > Switching over to AtomicLong and avoiding multiplication and doubles Yes. This is a good way to propagate the right exception while also avoiding stalls. The added comment about not being 100% sure is unnecessary but not wrong. ------------- Marked as reviewed by dl (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/33878#pullrequestreview-6047880394
