RFR: 8286297: G1: Simplify parallel and serial verification code paths

Albert Mingkun Yang ayang at openjdk.java.net
Mon May 9 08:31:50 UTC 2022


On Fri, 6 May 2022 12:49:25 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this small change that simplifies the path splitting parallel/serial execution of verification.
> 
> Testing: gha, local testing
> 
> Thanks,
>   Thomas

Re code affected butt not in this PR:

1. The comment and the class-name should probably be updated now that it's used for both sequential and parallel verification.


// This is the task used for parallel verification of the heap regions

class G1ParVerifyTask: public WorkerTask {


2. `VerifyRegionClosure::_par` seems unused.

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

Marked as reviewed by ayang (Reviewer).

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



More information about the hotspot-gc-dev mailing list