RFR: 8276472: align_metadata_size is a nop

Coleen Phillimore coleenp at openjdk.java.net
Thu Jan 20 12:58:49 UTC 2022


On Wed, 19 Jan 2022 23:20:37 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> I just added a comment to this and took out the align_up call.  I like align_metadata_size where it is and changing to WordSize doesn't add more safety imo.  Also found unused function while looking for units of metadata size.
> Tested with tier1 on Oracle supported platforms.

I don't want to delete it because I want there to be the knowledge that we're aligning metadata to some boundary, and those were the places we have to do it.  We may have had double-word alignment on 32 bits once.

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

PR: https://git.openjdk.java.net/jdk/pull/7150


More information about the hotspot-dev mailing list