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

Stefan Karlsson stefank at openjdk.org
Wed Feb 15 14:54:42 UTC 2023


On Tue, 24 Jan 2023 18:10:35 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> You are right that it aligns up. I agree that it's not 100% clear that check_for_bad_heap_word_value is correct.
>
> Similar thing applies to `filler_array_min_size` hunk above? Although there it is masked by "larger" `align_object_size`.

I think this should be rewritten to not use the word-based MemRegion class. We need to be able to return something that properly divide the header part from the payload.

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

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


More information about the hotspot-dev mailing list