Integrated: 8057586: Explicit GC ignored if GCLocker is active

Ivan Walulya iwalulya at openjdk.org
Mon Apr 24 08:51:06 UTC 2023


On Mon, 27 Mar 2023 13:41:32 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

> Hi All,
> 
> Please review this change to guarantee that at least a Full GC is executed between the invocation and return of an explicit Full GC call, even if the call is concurrent with an active `GCLocker`.  We specify explicit GCs as GCs triggered by the end user in some form (jcmd, System.GC, or WhiteBox testing).
> 
> The change should also handle the issues reported in JDK-8299276.
> 
> Split into 3 commits, one commit for changes to each GC in [G1, Parallel, Serial]. 
> 
> Testing: Tier 1-5.

This pull request has now been integrated.

Changeset: 4a9f8efa
Author:    Ivan Walulya <iwalulya at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4a9f8efa867f84463f054d6624bcc5a89033e152
Stats:     332 lines in 12 files changed: 310 ins; 4 del; 18 mod

8057586: Explicit GC ignored if GCLocker is active

Reviewed-by: tschatzl, ayang

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

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


More information about the hotspot-gc-dev mailing list