RFR: 8337331: crash: pinned virtual thread will lead to jvm crash when running with the javaagent option [v3]
Serguei Spitsyn
sspitsyn at openjdk.org
Tue Jul 30 11:27:32 UTC 2024
On Tue, 30 Jul 2024 06:46:38 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> > Can you convert the test to use .cpp instead of .c as well?
> or maybe it could use VThreadPinner which allows calling through a native frame for tests like this.
This is a good suggestion, I was also thinking about it.
An example can be found in the test:
`test/hotspot/jtreg/serviceability/jvmti/vthread/GetThreadState/GetThreadStateTest.java`
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20373#issuecomment-2258119426
More information about the hotspot-dev
mailing list