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

Albert Mingkun Yang ayang at openjdk.org
Fri Jul 8 21:31:43 UTC 2022


On Fri, 8 Jul 2022 15:07:19 GMT, Thomas Schatzl <tschatzl 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).

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

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



More information about the hotspot-gc-dev mailing list