On Tue, 18 Nov 2025 04:45:46 GMT, Chris Plummer <[email protected]> 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

Reply via email to