RFR: 8290291: G1: Merge multiple calls of block_size in HeapRegion::block_start
Albert Mingkun Yang
ayang at openjdk.org
Mon Aug 15 10:21:51 UTC 2022
On Thu, 14 Jul 2022 08:55:47 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Simple change of merging duplicate inline calls. It reduces asm footprint, e.g. `G1RemSet::refine_card_concurrently` by ~200 bytes.
>
> (The first commit is what I had originally -- inlining the block-walking logic, because block-walking logic is not used by others and highly specific to its sole caller. Ofc, this is subjective.)
>
> Test: hotspot_gc
Thanks for the review.
-------------
PR: https://git.openjdk.org/jdk/pull/9490
More information about the hotspot-gc-dev
mailing list