RFR: 8057586: Explicit GC ignored if GCLocker is active [v10]

Ivan Walulya iwalulya at openjdk.org
Thu Apr 20 15:46:49 UTC 2023


> 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.

Ivan Walulya has updated the pull request incrementally with one additional commit since the last revision:

  Albert Review

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13191/files
  - new: https://git.openjdk.org/jdk/pull/13191/files/bd418d01..bb88da8f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13191&range=09
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13191&range=08-09

  Stats: 9 lines in 6 files changed: 0 ins; 4 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/13191.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13191/head:pull/13191

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


More information about the hotspot-gc-dev mailing list