Skip to content

Commit 5b1dfe4

Browse files
author
Thomas Schatzl
committed
8273439: Fix G1CollectedHeap includes and forward declarations
Reviewed-by: ayang, kbarrett
1 parent 6eba443 commit 5b1dfe4

File tree

1 file changed

+15
-31
lines changed

1 file changed

+15
-31
lines changed

src/hotspot/share/gc/g1/g1CollectedHeap.hpp

Lines changed: 15 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -52,55 +52,39 @@
5252
#include "gc/shared/plab.hpp"
5353
#include "gc/shared/softRefPolicy.hpp"
5454
#include "gc/shared/taskqueue.hpp"
55+
#include "memory/allocation.hpp"
56+
#include "memory/iterator.hpp"
5557
#include "memory/memRegion.hpp"
5658
#include "utilities/bitMap.hpp"
57-
#include "utilities/stack.hpp"
5859

5960
// A "G1CollectedHeap" is an implementation of a java heap for HotSpot.
6061
// It uses the "Garbage First" heap organization and algorithm, which
6162
// may combine concurrent marking with parallel, incremental compaction of
6263
// heap subsets that will yield large amounts of garbage.
6364

6465
// Forward declarations
65-
class HeapRegion;
66-
class GenerationSpec;
67-
class G1CardSetFreeMemoryTask;
68-
class G1ParScanThreadState;
69-
class G1ParScanThreadStateSet;
70-
class G1ParScanThreadState;
71-
class MemoryPool;
72-
class MemoryManager;
73-
class ObjectClosure;
74-
class SpaceClosure;
75-
class CompactibleSpaceClosure;
76-
class Space;
66+
class G1Allocator;
67+
class G1ArchiveAllocator;
7768
class G1BatchedGangTask;
7869
class G1CardTableEntryClosure;
79-
class G1CollectionSet;
70+
class G1ConcurrentMark;
71+
class G1ConcurrentMarkThread;
72+
class G1ConcurrentRefine;
8073
class G1GCCounters;
81-
class G1Policy;
74+
class G1GCPhaseTimes;
75+
class G1HeapSizingPolicy;
8276
class G1HotCardCache;
77+
class G1NewTracer;
8378
class G1RemSet;
8479
class G1ServiceTask;
8580
class G1ServiceThread;
86-
class G1ConcurrentMark;
87-
class G1ConcurrentMarkThread;
88-
class G1ConcurrentRefine;
89-
class GenerationCounters;
90-
class STWGCTimer;
91-
class G1NewTracer;
81+
class GCMemoryManager;
82+
class HeapRegion;
83+
class MemoryPool;
9284
class nmethod;
93-
class WorkGang;
94-
class G1Allocator;
95-
class G1ArchiveAllocator;
96-
class G1FullGCScope;
97-
class G1HeapVerifier;
98-
class G1HeapSizingPolicy;
99-
class G1HeapSummary;
100-
class G1EvacSummary;
101-
class G1GCPhaseTimes;
10285
class ReferenceProcessor;
103-
class G1BatchedGangTask;
86+
class STWGCTimer;
87+
class WorkGang;
10488

10589
typedef OverflowTaskQueue<ScannerTask, mtGC> G1ScannerTasksQueue;
10690
typedef GenericTaskQueueSet<G1ScannerTasksQueue, mtGC> G1ScannerTasksQueueSet;

0 commit comments

Comments
 (0)