RFR: 8265461: G1: Forwarding pointer removal thread sizing

Ivan Walulya iwalulya at openjdk.java.net
Wed Apr 21 14:21:35 UTC 2021


On Tue, 20 Apr 2021 09:34:45 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   can I have reviews for this change that improves forwarding pointer removal handling by adding thread sizing to the work gang?
> 
> Since work is distributed per region at the moment, it does not make sense to start more threads than regions.
> 
> This can particularly help performance with object/region pinning.
> 
> Testing: tier1-3, using self-verification code
> 
> Thanks,
>   Thomas

src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp line 200:

> 198: }
> 199: 
> 200: void G1CollectedHeap::region_failed_evacuation() {

"region_failed_evacuation" name does not give any indication on what the method actually does.

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

PR: https://git.openjdk.java.net/jdk/pull/3585



More information about the hotspot-gc-dev mailing list