RFR: 8247972: incorrect implementation of JVM TI GetObjectMonitorUsage [v21]
Serguei Spitsyn
sspitsyn at openjdk.org
Tue Mar 12 02:07:26 UTC 2024
On Mon, 11 Mar 2024 18:38:52 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:
>> Okay, thanks! I'll add some diagnostic code to catch spurious wakups.
>> Let's see if we ever encounter any spurious wakeup in this test.
>
> I think some sort of comment needs to be added here to document
> the possibility of this code path being affect by a spurious wakeup.
Thanks. I've added both a comment and also some spurious wakeup detection with a warning.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17680#discussion_r1520719450
More information about the serviceability-dev
mailing list