On Wed, 27 Sep 2023 04:17:57 GMT, David Holmes <dhol...@openjdk.org> wrote:
>> I wonder if we are in the middle of a GC, the object has been moved, and the >> lock stack object reference has been updated but the monitor reference has >> not (or vice versa). > > I think you are right @plummercj - I'm adding details to the JBS issue. I think given this, issuing a warning is the appropriate thing to do. The warning might want to mention that the failure is likely because we are in the middle of a GC. That way the user has some context as to why SA info is not reliable. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/15907#discussion_r1338812930