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

Thomas Schatzl tschatzl at openjdk.org
Mon Jul 11 07:40:30 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

This pull request has now been integrated.

Changeset: 4ab77ac6
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4ab77ac60df78eedb16ebe142a51f703165e808d
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

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

Reviewed-by: ayang, iwalulya

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

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



More information about the hotspot-gc-dev mailing list