diff --git a/src/hotspot/share/gc/shared/cardTable.hpp b/src/hotspot/share/gc/shared/cardTable.hpp index c2c4011ca24..c9b4ba164ee 100644 --- a/src/hotspot/share/gc/shared/cardTable.hpp +++ b/src/hotspot/share/gc/shared/cardTable.hpp @@ -133,7 +133,7 @@ public: return byte_for(p) + 1; } - virtual void invalidate(MemRegion mr); + void invalidate(MemRegion mr); // Provide read-only access to the card table array. const CardValue* byte_for_const(const void* p) const {