RFR: 7903912: JMH: Pad using a mix of bytes and longs [v3]
Aleksey Shipilev
shade at openjdk.org
Tue Jan 7 15:00:17 UTC 2025
On Tue, 7 Jan 2025 14:57:52 GMT, Claes Redestad <redestad at openjdk.org> wrote:
>> Using a mix of bytes and longs we should get the gap-filling effect described in https://shipilev.net/jvm/objects-inside-out/#_observation_hierarchy_tower_padding_trick_collapse_in_jdk_15 while reducing size of generated code by roughly 20%:
>>
>>
>> 864772 jmh-samples/target/jmh-samples-1.38-SNAPSHOT.jar
>> 490531 jmh-samples/target/jmh-samples-1.38-SNAPSHOT-sources.jar
>>
>> 684383 jmh-samples/target/jmh-samples-1.38-SNAPSHOT.jar
>> 399758 jmh-samples/target/jmh-samples-1.38-SNAPSHOT-sources.jar
>
> Claes Redestad has updated the pull request incrementally with one additional commit since the last revision:
>
> Make it 16 bytes and 32 longs
Thanks! Let's do it.
-------------
Marked as reviewed by shade (Committer).
PR Review: https://git.openjdk.org/jmh/pull/147#pullrequestreview-2534554342
More information about the jmh-dev
mailing list