Integrated: 8253779: Amalloc may be wasting space by overaligning
Coleen Phillimore
coleenp at openjdk.java.net
Sun Jul 11 18:20:00 UTC 2021
On Thu, 8 Jul 2021 19:56:33 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> Thanks to @kimbarrett for noticing this. The alignment was changed to 64 bits for 32 bit platforms, but overalign for 64 bits platforms. I changed this to BytesPerLong to cover both, since the long case is why it was changed on 32 bits in the first place in JDK-4526490.
> I also removed Amalloc_D since I don't know what D stands for and it's the same as Amalloc_4. That's not a great name either. I'm open to suggestions!
> Tested with tier1-3.
This pull request has now been integrated.
Changeset: ac75a53f
Author: Coleen Phillimore <coleenp at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/ac75a53fc513cce2a1aa266f0b7235d150a76c01
Stats: 43 lines in 7 files changed: 2 ins; 20 del; 21 mod
8253779: Amalloc may be wasting space by overaligning
Reviewed-by: kbarrett, stuefe
-------------
PR: https://git.openjdk.java.net/jdk/pull/4732
More information about the hotspot-dev
mailing list