RFR: 8327130: Serial: Remove Generation::record_spaces_top

Albert Mingkun Yang ayang at openjdk.org
Mon Mar 4 10:15:53 UTC 2024


On Fri, 1 Mar 2024 14:36:55 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Trivial removing effectively dead code in the super class.

That can result into code looking like: `_young_gen->record_young_spaces_top()`, which IMO is rather odd due the redundant `young`. The proposed names would make more sense if they belong to a class including both gens, e.g. `SerialHeap`.

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

PR Comment: https://git.openjdk.org/jdk/pull/18082#issuecomment-1976229688


More information about the hotspot-gc-dev mailing list