On Wed, 20 May 2026 15:05:36 GMT, Shiv Shah <[email protected]> wrote:

> getallstktr001 is not virtual-thread-safe. JVMTI GetAllStackTraces() only 
> returns platform thread stacks, not virtual threads. Additionally, 40 threads 
> all block on native RawMonitorEnter() which pins carrier threads and causes 
> deadlock when run as virtual threads (confirmed during JDK-8382273 testing). 
> Reverted TestThread to extends Thread.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Looks good. Thank you for addressing this!

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

Marked as reviewed by sspitsyn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/31220#pullrequestreview-4344177424

Reply via email to