RFR: 8139457: Array bases are aligned at HeapWord granularity

Thomas Stuefe stuefe at openjdk.org
Mon Nov 21 11:07:25 UTC 2022


On Thu, 17 Nov 2022 12:54:06 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> I did the zero-ing out up in `allocate_array` since I did not want to affect the object allocation path.

About that, I see that other platforms zero out the leading bytes in `initialize_body`, but does that not mean that we now do a pointless store whenever we initialize a variable-sized object in +UseCCP mode with 12byte headers?

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

PR: https://git.openjdk.org/jdk/pull/11044


More information about the hotspot-dev mailing list