Since a stack address can point to a hotspot object, findpc of a stack address should allow for "Is of type..." to be the result, rather than requiring it to be "In java stack". The implementation of findpc checks if the address is a hotspot object before checking if it is the stack, which seems to be what you would want.
------------- Commit messages: - Allow findpc of a stack address to return "Is of type..." Changes: https://git.openjdk.java.net/jdk17/pull/101/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk17&pr=101&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8264775 Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod Patch: https://git.openjdk.java.net/jdk17/pull/101.diff Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/101/head:pull/101 PR: https://git.openjdk.java.net/jdk17/pull/101