RFR: 8343840: Rewrite the ObjectMonitor lists [v2]
David Holmes
dholmes at openjdk.org
Wed Mar 5 05:17:55 UTC 2025
On Tue, 4 Mar 2025 18:09:56 GMT, Fredrik Bredberg <fbredberg at openjdk.org> wrote:
>> But if there is a previous node (just no previous pointer set) we have to rebuild the list, otherwise G would still be pointing to F. It would be this case: https://github.com/fbredber/jdk/blob/283c2431ec64b0865d4e678913c636732d01658f/src/hotspot/share/runtime/objectMonitor.cpp#L1313
>
> You're quite right. I'll rewrite that section of the comment. Thank you for spotting this.
Yep my bad - you can't delete yourself without a prev node pointer when you are being pointed to.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23421#discussion_r1980709561
More information about the hotspot-dev
mailing list