RFR: 8287555: Tighten G1 G1BlockOffsetTable::block_start() code [v7]

Thomas Schatzl tschatzl at openjdk.org
Fri Jul 8 15:18:47 UTC 2022


On Fri, 8 Jul 2022 08:25:27 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> Hi all,
>> 
>>   can I have reviews for this change that specializes `G1BlockOffsetTablePart::block_size` with a variant used for card aligned addresses including some cleanup of comments? This saves some unnecessary lookup of the block size of the object found as for refinement the start address is always aligned.
>> 
>> Testing: tier1, gha
>> 
>> Thanks,
>>   Thomas
>
> Thomas Schatzl has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Refactoring

I moved some fairly unrelated refactoring/cleanup to separate PRs without updating this one yet (https://github.com/openjdk/jdk/pull/9430, https://github.com/openjdk/jdk/pull/9429 and https://github.com/openjdk/jdk/pull/9428); let's wait until they are pushed and merged.

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

PR: https://git.openjdk.org/jdk/pull/9059



More information about the hotspot-gc-dev mailing list