From c5910fa065ec9b95fcc63047a76f9f4c5cf64dd6 Mon Sep 17 00:00:00 2001 From: Albert Mingkun Yang Date: Wed, 26 Apr 2023 10:58:50 +0000 Subject: [PATCH] 8306749: Make CardTable::invalidate non-virtual Reviewed-by: tschatzl --- src/hotspot/share/gc/shared/cardTable.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {