RFR: 8324210: Serial: Remove unused methods in Generation

Thomas Schatzl tschatzl at openjdk.org
Mon Jan 22 14:48:33 UTC 2024


On Fri, 19 Jan 2024 13:33:37 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Trivial removing dead code.

Changes requested by tschatzl (Reviewer).

src/hotspot/share/gc/serial/generation.hpp line 103:

> 101: 
> 102: 
> 103:   virtual Generation::Name kind() { return Generation::Other; }

`Generation::Other` should be removed as well.

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

PR Review: https://git.openjdk.org/jdk/pull/17497#pullrequestreview-1836641458
PR Review Comment: https://git.openjdk.org/jdk/pull/17497#discussion_r1461967134


More information about the hotspot-gc-dev mailing list