RFR: 8139457: Array bases are aligned at HeapWord granularity [v52]

Roman Kennke rkennke at openjdk.org
Wed Aug 23 10:14:48 UTC 2023


On Wed, 23 Aug 2023 09:48:27 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

> I don't see anywhere in that statement regarding the alignment with respects to the index value, only to the underlying memory address.
> 
> The following section even goes into details about obtaining the misalignment of the array base using byte buffer, which leads to me believing that the only requirement is that the congruence class of the base modulo 8 should be consistent.

Yeah. Who could clarify this? @PaulSandoz maybe?

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

PR Comment: https://git.openjdk.org/jdk/pull/11044#issuecomment-1689684648


More information about the hotspot-dev mailing list