Question about the Method Exit Test
Gengchen Tuo
Gengchen.Tuo at ibm.com
Tue Aug 8 19:35:52 UTC 2023
Hi all. In the Method Exit test https://github.com/openjdk/jdk/blob/master/test/hotspot/jtreg/serviceability/jvmti/vthread/MethodExitTest/MethodExitTest.java, no MethodExit event is expected between the first and the second breakpoint hit. Why are we making this assumption? Maybe that’s related to line 59 and 60 that I don’t really understand? To my knowledge, the producer thread may yield between the two breakpoint hits and MethodExit events will be reported.
I tried to enable the MethodEntry event in the agent code and the test started to fail but this shouldn’t affect the test result I believe?
Thanks in advance
Gengchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20230808/29d63462/attachment-0001.htm>
More information about the loom-dev
mailing list