RFR: JDK-8283674: Pad ObjectMonitor allocation size to cache line size
David Holmes
dholmes at openjdk.java.net
Mon Mar 28 06:57:40 UTC 2022
On Mon, 28 Mar 2022 05:35:27 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> If padding was necessary before, would it not be necessary now too?
We don't know that it was _necessary_ before, only that it was present - the alignment aspect may have been more important than actual cache-line padding. If someone wanted to add padding anywhere today we would want performance numbers to show it is needed. So adding back padding that we have removed, and with which no performance regression has been attributed, should be held to the same standard IMO.
Cheers,
David
-------------
PR: https://git.openjdk.java.net/jdk/pull/7955
More information about the hotspot-runtime-dev
mailing list