RFR: 8139457: Array bases are aligned at HeapWord granularity [v50]
Albert Mingkun Yang
ayang at openjdk.org
Mon Aug 21 10:28:43 UTC 2023
On Thu, 17 Aug 2023 19:05:22 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
> I couldn't move it into initialize_body() because that method is also used by initialize_object() and would require more work to get the len_in_bytes consistent.
I see the patch from xmas92 moves that logic inside `initialize_body()` and it is clearer in separating header/body responsibility. Personally, I think one can take a step further, extending `zero_memory` to support non-word-alignment args.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/11044#issuecomment-1686064096
More information about the hotspot-dev
mailing list