RFR: 7903912: JMH: Pad using a mix of bytes and longs [v2]

duke duke at openjdk.org
Tue Jan 7 14:32:58 UTC 2025


On Tue, 17 Dec 2024 23:41:08 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
> 
>  - Merge branch 'master' into byte_long_padding
>  - Adjust hierarchical padding in static code
>  - Superficial comment change to trigger pre-integration tests
>  - Pad with a mix of bytes and longs

@cl4es 
Your change (at version c6472b48e51085f47d8be42a7e776c4ffa78dbd9) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jmh/pull/147#issuecomment-2575434497


More information about the jmh-dev mailing list