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/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. This pull request has now been integrated. Changeset: 1fe3ada0 Author: SendaoYan <s...@openjdk.org> Committer: Alex Menkov <amen...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/1fe3ada001e188754df5de00bf6804f028ad274b Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod 8336284: Test TestClhsdbJstackLock.java/TestJhsdbJstackLock.java fails with -Xcomp after JDK-8335743 Reviewed-by: cjplummer, amenkov ------------- PR: https://git.openjdk.org/jdk/pull/20151