RFR: 8329658: Serial: Refactor ContiguousSpace::_next_compaction_space [v3]

Guoxiong Li gli at openjdk.org
Mon Apr 8 16:22:20 UTC 2024


> Hi all,
> 
> This patch removes the uncessary `ContiguousSpace::_next_compaction_space` and uses `DefNewGeneration::_promotion_failed` instead.
> 
> The tests `make test-tier1_gc` passed locally.
> 
> Thanks for taking the time to review.
> 
> Best Regards,
> -- Guoxiong

Guoxiong Li has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:

 - Merge branch 'master' into NEXT_COMPACT_SPACE
   
   # Conflicts:
   #	src/hotspot/share/gc/shared/space.hpp
 - Make promotion_failed as private.
 - Judge whether to-space is empty.
 - JDK-8329658

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

Changes: https://git.openjdk.org/jdk/pull/18666/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18666&range=02
  Stats: 34 lines in 5 files changed: 0 ins; 32 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/18666.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18666/head:pull/18666

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


More information about the hotspot-gc-dev mailing list