From 1513e7910f1b85aa20bda55b8d73e877232e8192 Mon Sep 17 00:00:00 2001 From: Albert Mingkun Yang Date: Tue, 26 Sep 2023 12:56:24 +0000 Subject: [PATCH] 8316940: Serial: Remove unused declarations in genCollectedHeap Reviewed-by: stefank, tschatzl --- src/hotspot/share/gc/shared/genCollectedHeap.cpp | 1 - src/hotspot/share/gc/shared/genCollectedHeap.hpp | 4 ---- 2 files changed, 5 deletions(-) diff --git a/src/hotspot/share/gc/shared/genCollectedHeap.cpp b/src/hotspot/share/gc/shared/genCollectedHeap.cpp index 5924477e452..610c259f529 100644 --- a/src/hotspot/share/gc/shared/genCollectedHeap.cpp +++ b/src/hotspot/share/gc/shared/genCollectedHeap.cpp @@ -34,7 +34,6 @@ #include "gc/serial/defNewGeneration.hpp" #include "gc/serial/genMarkSweep.hpp" #include "gc/serial/markSweep.hpp" -#include "gc/shared/adaptiveSizePolicy.hpp" #include "gc/shared/cardTableBarrierSet.hpp" #include "gc/shared/collectedHeap.inline.hpp" #include "gc/shared/collectorCounters.hpp" diff --git a/src/hotspot/share/gc/shared/genCollectedHeap.hpp b/src/hotspot/share/gc/shared/genCollectedHeap.hpp index 131a274813d..62dabcd0af7 100644 --- a/src/hotspot/share/gc/shared/genCollectedHeap.hpp +++ b/src/hotspot/share/gc/shared/genCollectedHeap.hpp @@ -31,13 +31,9 @@ #include "gc/shared/preGCValues.hpp" #include "gc/shared/softRefPolicy.hpp" -class AdaptiveSizePolicy; class CardTableRS; class GCPolicyCounters; class GenerationSpec; -class StrongRootsScope; -class SubTasksDone; -class WorkerThreads; // A "GenCollectedHeap" is a CollectedHeap that uses generational // collection. It has two generations, young and old.