Relates :
|
|
Relates :
|
See discussion under [1]. Since the libc malloc allocator may place ObjectMonitor instances adjacent to each other, we should pad the size of ObjectMonitor to fill a whole cache line to prevent false sharing between adjacent OMs. [1] https://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2022-March/054187.html
|