RFR: 8367409: G1: Remove unused G1MonotonicArena::Segment::copy_to()

Albert Mingkun Yang ayang at openjdk.org
Fri Sep 12 12:00:52 UTC 2025


On Thu, 11 Sep 2025 11:52:08 GMT, Leo Korinth <lkorinth at openjdk.org> wrote:

> The code compiles.

Marked as reviewed by ayang (Reviewer).

src/hotspot/share/gc/g1/g1MonotonicArena.hpp line 177:

> 175: 
> 176:   static Segment* create_segment(uint slot_size, uint num_slots, Segment* next, MemTag mem_tag);
> 177:   static void delete_segment(Segment *segment);

I'd suggest keeping the original `Segment*` type to be consistent with surrounding code.

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

PR Review: https://git.openjdk.org/jdk/pull/27221#pullrequestreview-3212092804
PR Review Comment: https://git.openjdk.org/jdk/pull/27221#discussion_r2341240885


More information about the hotspot-gc-dev mailing list