Skip to content

Commit cb1e5e3

Browse files
committed
8309286: G1: Remove unused G1HeapRegionAttr::is_valid_gen
Reviewed-by: tschatzl
1 parent e8268d9 commit cb1e5e3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/hotspot/share/gc/g1/g1HeapRegionAttr.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ struct G1HeapRegionAttr {
101101
#ifdef ASSERT
102102
bool is_default() const { return type() == NotInCSet; }
103103
bool is_valid() const { return (type() >= Optional && type() < Num); }
104-
bool is_valid_gen() const { return (type() >= Young && type() <= Old); }
105104
#endif
106105
};
107106

0 commit comments

Comments
 (0)