On Fri, 12 Jul 2024 03:24:42 GMT, SendaoYan <s...@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/0db4f21ce22a5700d6d2a29efc1289c8231266bb/hotspot/src/share/vm/runtime/vframe.cpp#L185 > 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. Marked as reviewed by cjplummer (Reviewer). I just want to clarify that the "<no object reference available>" message is coming from the SA JavaVFrame.java file, not the vframe.cpp code you mention in the PR description. ------------- PR Review: https://git.openjdk.org/jdk/pull/20151#pullrequestreview-2173821723 PR Comment: https://git.openjdk.org/jdk/pull/20151#issuecomment-2224526136