RFR: 8338912: CDS: Segmented roots array [v5]

Aleksey Shipilev shade at openjdk.org
Tue Sep 10 08:30:45 UTC 2024


On Tue, 10 Sep 2024 08:12:19 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Whoa, that looks fragile! It feels safer to memset(0) the entire header then? Whack-a-mole-ing the alignment paddings every time we add a field is not convenient.

Testing `memset` here, but would probably integrate it separately as [JDK-8339830](https://bugs.openjdk.org/browse/JDK-8339830).

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

PR Comment: https://git.openjdk.org/jdk/pull/20858#issuecomment-2340003810


More information about the hotspot-runtime-dev mailing list