RFR: 8336284: Test TestClhsdbJstackLock.java/TestJhsdbJstackLock.java fails with -Xcomp after JDK-8335743

duke duke at openjdk.org
Fri Jul 12 06:39:51 UTC 2024


On Fri, 12 Jul 2024 03:24:42 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> Test TestClhsdbJstackLock.java/TestJhsdbJstackLock.java fails with -Xcomp after [JDK-8335743](https://bugs.openjdk.org/browse/JDK-8335743). I think the new failures was testcase bug.
> 
> https://github.com/openjdk/jdk/blob/627a32d6722c92f814c1ddd1c2fdf9a3b28cd655/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/JavaVFrame.java#L112
> Locals are not always available, e.g., compiled native frames have no scope so there are no locals. So the output `- waiting on <no object reference available>` also acceptable.
> 
> The change has been verified by -Xmixed/-Xcomp(c2)/-Xcomp -XX:TieredStopAtLevel=1(c1), only change the testcase, no risk.

@sendaoYan 
Your change (at version 5925efa3c34a9e63ce7b62d7244afc141c582fed) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/20151#issuecomment-2224899546


More information about the serviceability-dev mailing list