On Tue, 1 Sep 2026 19:15:43 GMT, Daniel D. Daugherty <[email protected]> wrote:

>> src/hotspot/share/runtime/objectMonitor.hpp line 100:
>> 
>>> 98: //
>>> 99: // - The _object and _owner fields should be separated by enough space
>>> 100: //   to avoid false sharing due to parallel access by different 
>>> threads.
>> 
>> Not sure this is really true and this now suggests we've seen a false 
>> sharing problem, which we haven't. So probably better to delete the comment.
>
> If you remove the padding after `_object`, then this comment can go.

Removed the padding, and the comment.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32573#discussion_r3915513905

Reply via email to