RFR: 8290017: Directly call HeapRegion::block_start in G1CMObjArrayProcessor::process_slice

Thomas Schatzl tschatzl at openjdk.org
Mon Jul 11 07:36:41 UTC 2022


On Fri, 8 Jul 2022 21:28:14 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Hi all,
>> 
>>   please review this small change to have `G1CMObjArrayProcessor::process_slice` call `HeapRegion::block` directly instead of indirectly via `G1CollectedHeap`. This saves a check and an indirection (but generally isn't perf sensitive anyway, but still).
>> 
>> Testing: tier1-3
>> 
>> Thanks,
>>   Thomas
>
> Marked as reviewed by ayang (Reviewer).

Thanks @albertnetymk @walulyai for your reviews

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

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



More information about the hotspot-gc-dev mailing list