RFR: 7903912: JMH: Pad using a mix of bytes and longs [v2]
Claes Redestad
redestad at openjdk.org
Tue Dec 17 23:41:08 UTC 2024
> 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
-------------
Changes:
- all: https://git.openjdk.org/jmh/pull/147/files
- new: https://git.openjdk.org/jmh/pull/147/files/a38de587..c6472b48
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jmh&pr=147&range=01
- incr: https://webrevs.openjdk.org/?repo=jmh&pr=147&range=00-01
Stats: 214 lines in 21 files changed: 134 ins; 25 del; 55 mod
Patch: https://git.openjdk.org/jmh/pull/147.diff
Fetch: git fetch https://git.openjdk.org/jmh.git pull/147/head:pull/147
PR: https://git.openjdk.org/jmh/pull/147
More information about the jmh-dev
mailing list