RFR: JDK-8283674: Pad ObjectMonitor allocation size to cache line size
Thomas Stuefe
stuefe at openjdk.java.net
Tue Mar 29 03:48:40 UTC 2022
On Mon, 28 Mar 2022 19:45:32 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:
> So back in 2014, when this work was done, we determined via performance testing that adding padding to the end of the ObjectMonitor was helpful (along with the other 2 padding/alignment changes).
>
> Of course, in 2020, when we did the work for JDK-8253064, we dropped the padding at the end of ObjectMonitor because our testing didn't reveal a need for it.
Thanks for the extensive answer, Dan. Okay, I'll try and come up with some performance testing. If I cannot show a difference, I'll drop the patch.
Cheers, Thomas
-------------
PR: https://git.openjdk.java.net/jdk/pull/7955
More information about the hotspot-runtime-dev
mailing list