8309286: G1: Remove unused G1HeapRegionAttr::is_valid_gen

Reviewed-by: tschatzl
This commit is contained in:
Albert Mingkun Yang 2023-06-02 12:47:17 +00:00
parent e8268d9163
commit cb1e5e3f0f

@ -101,7 +101,6 @@ public:
#ifdef ASSERT
bool is_default() const { return type() == NotInCSet; }
bool is_valid() const { return (type() >= Optional && type() < Num); }
bool is_valid_gen() const { return (type() >= Young && type() <= Old); }
#endif
};