RFR: 8337331: crash: pinned virtual thread will lead to jvm crash when running with the javaagent option [v11]

Jiawei Tang jwtang at openjdk.org
Tue Aug 6 07:55:34 UTC 2024


On Tue, 6 Aug 2024 06:14:45 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

>>> Hello @jia-wei-tang, I see that a `@build jdk.test.lib.util.JavaAgentBuilder` was added in the latest update to the PR. Did that help solve the NoClassDefFoundError you were running into when running those tests? I find it surprising that this specific class is required in the `@build` declaration, since that class itself is part of the `@run` directive.
>> 
>> It cannot solve the NoClassDefFoundError. Should I try to add `@build jdk.test.lib.thread.VThreadPinner`?
>
>> Should I try to add @build jdk.test.lib.thread.VThreadPinner?
> 
> Yes, please give that a try.

It cannot solve the NoClassDefFoundError. Besides, this new testcase is not included in linux-x86 / test (hs/tier1 serviceability).

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20373#discussion_r1705078115


More information about the hotspot-dev mailing list