From 08a7ecf47ee5811f88dfcc82fe8614c72ccf3221 Mon Sep 17 00:00:00 2001 From: Albert Mingkun Yang Date: Mon, 3 Oct 2022 11:11:22 +0000 Subject: [PATCH] 8294671: Remove unused CardValues::last_card Reviewed-by: tschatzl --- src/hotspot/share/gc/shared/cardTable.hpp | 3 +-- src/hotspot/share/gc/shared/vmStructs_gc.hpp | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/hotspot/share/gc/shared/cardTable.hpp b/src/hotspot/share/gc/shared/cardTable.hpp index f94961555a7..3e47b1d28a1 100644 --- a/src/hotspot/share/gc/shared/cardTable.hpp +++ b/src/hotspot/share/gc/shared/cardTable.hpp @@ -94,8 +94,7 @@ protected: clean_card = (CardValue)-1, dirty_card = 0, - last_card = 1, - CT_MR_BS_last_reserved = 2 + CT_MR_BS_last_reserved = 1 }; // a word's worth (row) of clean card values diff --git a/src/hotspot/share/gc/shared/vmStructs_gc.hpp b/src/hotspot/share/gc/shared/vmStructs_gc.hpp index dd55c3197d6..dfa92cf61b5 100644 --- a/src/hotspot/share/gc/shared/vmStructs_gc.hpp +++ b/src/hotspot/share/gc/shared/vmStructs_gc.hpp @@ -234,7 +234,6 @@ declare_constant(BOTConstants::N_powers) \ \ declare_constant(CardTable::clean_card) \ - declare_constant(CardTable::last_card) \ declare_constant(CardTable::dirty_card) \ declare_constant(CardTable::Precise) \ declare_constant(CardTable::ObjHeadPreciseArray) \