RFR: 8320864: Serial: Extract out Full GC related fields from ContiguousSpace [v5]

Albert Mingkun Yang ayang at openjdk.org
Tue Jan 2 08:56:03 UTC 2024


> Simple moving some fields from the generic class to Full GC specific files.
> 
> Ideally, on deciding wheter `to`-space should be compacted, one should use `set_incremental_collection_failed` to check if promotion-failure occurred during young-gc, but in some places, this flag is set even in the absence of promotion-failure, e.g. `heap->set_incremental_collection_failed(); // Slight lie: we did not even attempt one`. Therefore, I used `next_compaction_space` for this purpose, in order to keep this patch more focused and the diff-size small.
> 
> Test: tier1-5; perf neutral using the attached benchmark.

Albert Mingkun Yang has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:

  s1-full-gc

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

Changes: https://git.openjdk.org/jdk/pull/16842/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16842&range=04
  Stats: 857 lines in 11 files changed: 269 ins; 494 del; 94 mod
  Patch: https://git.openjdk.org/jdk/pull/16842.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16842/head:pull/16842

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


More information about the hotspot-gc-dev mailing list