RFR: 8356658: java/foreign/TestBufferStackStress2.java failed again with junit action timed out [v5]
Alan Bateman
alanb at openjdk.org
Mon May 12 12:46:53 UTC 2025
On Mon, 12 May 2025 12:37:34 GMT, Per Minborg <pminborg at openjdk.org> wrote:
> > I assume the changes to switch this from wait/notify to CountDownLatch aren't needed. A carrier can't terminate with a mounted virtual thread. It's okay to change the test but I think the original issue is about Zero or running with -XX:-VMContinautions.
>
> Yes. This just eliminates potential races, but is not strictly needed to avoid the problem at hand.
Okay, but I don't think there is a race as the only scheduler point right now is the wait. Maybe the future we might have additional scheduling points that would impact this. So I think what you have is okay.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25177#issuecomment-2872422477
More information about the core-libs-dev
mailing list