RFR: 8330006: Serial: Extract out ContiguousSpace::block_start_const [v3]

Guoxiong Li gli at openjdk.org
Wed Apr 10 14:09:34 UTC 2024


> Hi all,
> 
> This patch moves the method `ContiguousSpace::block_start_const` to `DefNewGeneration` (note: not the parent class `Generation`) and moves the method `TenuredSpace::block_start_const` to `TenuredGeneration`. These two methods don't need  the same signature so I don't add a virtual method to the parent class `Generation`.
> 
> Thanks for taking the time to review.
> 
> Best Regards,
> -- Guoxiong

Guoxiong Li has updated the pull request incrementally with one additional commit since the last revision:

  Restrict the scope of the method block_start_const to only its file.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18722/files
  - new: https://git.openjdk.org/jdk/pull/18722/files/d01af61c..4181badc

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18722&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18722&range=01-02

  Stats: 11 lines in 2 files changed: 4 ins; 6 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/18722.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18722/head:pull/18722

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


More information about the hotspot-gc-dev mailing list