JDK-8334085: Cannot reproduce failing test

Iñigo Mediavilla imediava at gmail.com
Tue Jul 16 09:01:49 UTC 2024


Thanks Alan,

>> Note that this code has changed significantly in the loom repo and the
assert that is triggered in main line doesn't exist in the new code.

My assumption is that:

- In the main line the assertion should hold because we don't unmount a
virtual thread during blocking operations (we pin it to the carrier and
park the thread)
- In loom the assertion has been removed because there are changes like
commit (756743da) that will make it possible for a thread to be unmounted
while holding a lock.

Can you confirm if this is correct ?

Íñigo


On Sat, Jul 13, 2024 at 10:27 AM Alan Bateman <Alan.Bateman at oracle.com>
wrote:

> On 13/07/2024 08:07, Iñigo Mediavilla wrote:
>
> I see, in that case Serguei would you want to still own this JBS or would
> you be OK if I try to have a look at it ?
>
> Debug build and JTREG_TEST_THREAD_FACTORY=Virtual. Note that this code
> has changed significantly in the loom repo and the assert that is triggered
> in main line doesn't exist in the new code. -Alan.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20240716/09d7c7bf/attachment-0001.htm>


More information about the loom-dev mailing list