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

Guoxiong Li gli at openjdk.org
Wed Apr 10 13:51:21 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:

  Mark method as static.

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

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

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

  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 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