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

Thomas Schatzl tschatzl at openjdk.org
Fri Jul 8 08:25:27 UTC 2022


On Thu, 7 Jul 2022 19:17:35 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:
> 
>   Improve merge, remove unneeded declarations

Did some refactoring to remove some duplicate `block_start` call. Passes tier1-3.

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

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



More information about the hotspot-gc-dev mailing list