From 9fd77c7b9b06a4e1171c247ed542fbb08c5b6fba Mon Sep 17 00:00:00 2001 From: Albert Mingkun Yang Date: Tue, 21 Feb 2023 09:25:51 +0000 Subject: [PATCH] 8302868: Serial: Remove CardTableRS::initialize Reviewed-by: tschatzl --- src/hotspot/share/gc/shared/cardTableRS.cpp | 4 ---- src/hotspot/share/gc/shared/cardTableRS.hpp | 1 - 2 files changed, 5 deletions(-) diff --git a/src/hotspot/share/gc/shared/cardTableRS.cpp b/src/hotspot/share/gc/shared/cardTableRS.cpp index bb51045236f..c4688b790b8 100644 --- a/src/hotspot/share/gc/shared/cardTableRS.cpp +++ b/src/hotspot/share/gc/shared/cardTableRS.cpp @@ -434,10 +434,6 @@ void CardTableRS::verify() { CardTableRS::CardTableRS(MemRegion whole_heap) : CardTable(whole_heap) { } -void CardTableRS::initialize() { - CardTable::initialize(); -} - void CardTableRS::non_clean_card_iterate(TenuredSpace* sp, MemRegion mr, OopIterateClosure* cl, diff --git a/src/hotspot/share/gc/shared/cardTableRS.hpp b/src/hotspot/share/gc/shared/cardTableRS.hpp index 721839fa43b..da184bacff9 100644 --- a/src/hotspot/share/gc/shared/cardTableRS.hpp +++ b/src/hotspot/share/gc/shared/cardTableRS.hpp @@ -62,7 +62,6 @@ public: } void verify(); - void initialize() override; void clear_into_younger(Generation* old_gen);