RFR: 8337331: crash: pinned virtual thread will lead to jvm crash when running with the javaagent option [v11]
    Jaikiran Pai 
    jpai at openjdk.org
       
    Mon Aug  5 10:37:33 UTC 2024
    
    
  
On Mon, 5 Aug 2024 07:37:11 GMT, Jiawei Tang <jwtang at openjdk.org> wrote:
>> I add the testcase which can reproduce the crash. I hope that I could get some advise if the codes need changing.
>
> Jiawei Tang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   change the format of the testcase file
test/hotspot/jtreg/serviceability/jvmti/vthread/TestPinCaseWithCFLH/TestPinCaseWithCFLH.java line 37:
> 35:  * @modules java.base/java.lang:+open
> 36:  * @compile TestPinCaseWithCFLH.java
> 37:  * @run driver jdk.test.lib.util.JavaAgentBuilder
Hello @jia-wei-tang, does adding an additional `@build jdk.test.lib.thread.VThreadPinner` line before the `@run` line help fix the `NoClassDefFoundError` you note in your comment?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20373#discussion_r1703911631
    
    
More information about the hotspot-dev
mailing list