RFR: 8316401: sun/tools/jhsdb/JStackStressTest.java failed with "InternalError: We should have found a thread that owns the anonymous lock"

Chris Plummer cjplummer at openjdk.org
Tue Sep 26 02:51:10 UTC 2023


On Tue, 26 Sep 2023 02:44:59 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Maybe SA is seeing a monitor in the monitor cache that it is only seeing because the monitor cache is currently inconsistent (due to SA not safe pointing). So the question is whether the monitor cache can be in a state where it still contains a reference to an anonymous monitor, but no thread actually owns the monitor (and the anonymous monitor is about to be purged from the cache).
>
> Looks like you answered my question while I was asking it.

And I shouldn't have said "cache". I was confusing this PR with another dealing with the Monitor Cache.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/15907#discussion_r1336568286


More information about the serviceability-dev mailing list