RFR: 7903912: JMH: Pad using a mix of bytes and longs [v3]
duke
duke at openjdk.org
Tue Jan 7 15:47:51 UTC 2025
On Tue, 7 Jan 2025 15:00:17 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
@cl4es
Your change (at version ec897a768063152646b8f9cb2f23a590ac09a962) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jmh/pull/147#issuecomment-2575620035
More information about the jmh-dev
mailing list