RFR: 8345659: Fix broken alignment after ReservedSpace splitting in GC code [v2]

Stefan Karlsson stefank at openjdk.org
Wed Dec 11 12:15:40 UTC 2024


On Wed, 11 Dec 2024 11:56:49 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

>  but it is also the granularity / alignment of the size

I don't think that this is a strict requirement throughout the JVM's usage of ReservedSpace. AFAIU, the alignment only strictly applies to the base pointer, but some users has also has an 'alignment' requirement (as opposed to a 'page_size' requirement) on the size. Let's take an extra round thinking about that for the ReservedSpace rewrites.

> But I know you are working on refactoring and improving the ReservedSpace. Let us hope we can make this more robust in the future.

Yes, I have extra verification in my other patch.

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

PR Comment: https://git.openjdk.org/jdk/pull/22602#issuecomment-2535825178


More information about the hotspot-gc-dev mailing list