RFR: 8371194: serviceability/sa/TestJhsdbJstackMixedWithXComp.java failing [v2]
Yasumasa Suenaga
ysuenaga at openjdk.org
Tue Nov 18 06:43:08 UTC 2025
On Tue, 18 Nov 2025 04:45:46 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> The message is generated by PStack.java whenever the thread list is null and it is running on OSX.
Maybe it is a side effect of deleting `initJFrameCache()` from PStack.java.
I do not have Mac, so I cannot verify the following...
`BsdDebuggerLocal::threadList` would be filled in `getJavaThreadsInfo()`, and it is eventually called through a chain of calls starting from `BsdThread::getContext()`. It is eventually called by `getCurrentFrameGuess()` from `PStack::initJFrameCache()`.
I think it is better to separate BsdDebuggerLocal::getJavaThreadsInfo() - filling threadList can move to getThreadList() because it is not needed in getJavaThreadsInfo().
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28284#issuecomment-3545625295
More information about the serviceability-dev
mailing list