Skip to content


8331004: Serial: Remove unused GenClosure
Browse files Browse the repository at this point in the history
Reviewed-by: gli, tschatzl
  • Loading branch information
albertnetymk committed Apr 24, 2024
1 parent 45ed97f commit 74b11cc
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/hotspot/share/gc/serial/serialHeap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,15 +236,6 @@ class SerialHeap : public CollectedHeap {

void print_heap_change(const PreGenGCValues& pre_gc_values) const;

// The functions below are helper functions that a subclass of
// "CollectedHeap" can use in the implementation of its virtual
// functions.

class GenClosure : public StackObj {
virtual void do_generation(Generation* gen) = 0;

// Return "true" if all generations have reached the
// maximal committed limit that they can reach, without a garbage
// collection.
Expand Down

1 comment on commit 74b11cc

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.