8325517: Shenandoah: Reduce unnecessary includes from shenandoahControlThread.cpp
Reviewed-by: shade, kdnilsen, ysr
This commit is contained in:
parent
40708baf7a
commit
4a3a38d1b7
@ -30,20 +30,14 @@
|
||||
#include "gc/shenandoah/shenandoahDegeneratedGC.hpp"
|
||||
#include "gc/shenandoah/shenandoahFreeSet.hpp"
|
||||
#include "gc/shenandoah/shenandoahFullGC.hpp"
|
||||
#include "gc/shenandoah/shenandoahPhaseTimings.hpp"
|
||||
#include "gc/shenandoah/shenandoahHeap.inline.hpp"
|
||||
#include "gc/shenandoah/shenandoahMark.inline.hpp"
|
||||
#include "gc/shenandoah/shenandoahMonitoringSupport.hpp"
|
||||
#include "gc/shenandoah/shenandoahOopClosures.inline.hpp"
|
||||
#include "gc/shenandoah/shenandoahRootProcessor.inline.hpp"
|
||||
#include "gc/shenandoah/shenandoahPacer.inline.hpp"
|
||||
#include "gc/shenandoah/shenandoahUtils.hpp"
|
||||
#include "gc/shenandoah/shenandoahVMOperations.hpp"
|
||||
#include "gc/shenandoah/shenandoahWorkerPolicy.hpp"
|
||||
#include "gc/shenandoah/heuristics/shenandoahHeuristics.hpp"
|
||||
#include "memory/iterator.hpp"
|
||||
#include "memory/metaspaceUtils.hpp"
|
||||
#include "memory/metaspaceStats.hpp"
|
||||
#include "memory/universe.hpp"
|
||||
#include "memory/resourceArea.hpp"
|
||||
#include "runtime/atomic.hpp"
|
||||
|
||||
ShenandoahControlThread::ShenandoahControlThread() :
|
||||
|
@ -28,10 +28,8 @@
|
||||
#include "gc/shared/gcCause.hpp"
|
||||
#include "gc/shared/concurrentGCThread.hpp"
|
||||
#include "gc/shenandoah/shenandoahGC.hpp"
|
||||
#include "gc/shenandoah/shenandoahHeap.hpp"
|
||||
#include "gc/shenandoah/shenandoahPadding.hpp"
|
||||
#include "gc/shenandoah/shenandoahSharedVariables.hpp"
|
||||
#include "utilities/ostream.hpp"
|
||||
|
||||
class ShenandoahControlThread: public ConcurrentGCThread {
|
||||
friend class VMStructs;
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "gc/shenandoah/shenandoahAllocRequest.hpp"
|
||||
#include "gc/shenandoah/shenandoahAsserts.hpp"
|
||||
#include "gc/shenandoah/shenandoahHeap.hpp"
|
||||
#include "gc/shenandoah/shenandoahPacer.hpp"
|
||||
#include "gc/shenandoah/shenandoahPadding.hpp"
|
||||
#include "utilities/sizes.hpp"
|
||||
|
||||
|
@ -27,9 +27,18 @@
|
||||
|
||||
#include "gc/shared/stringdedup/stringDedup.hpp"
|
||||
#include "gc/shared/taskTerminator.hpp"
|
||||
#include "gc/shenandoah/shenandoahOopClosures.hpp"
|
||||
#include "gc/shenandoah/shenandoahHeap.hpp"
|
||||
#include "gc/shenandoah/shenandoahTaskqueue.hpp"
|
||||
|
||||
enum StringDedupMode {
|
||||
NO_DEDUP, // Do not do anything for String deduplication
|
||||
ENQUEUE_DEDUP, // Enqueue candidate Strings for deduplication, if meet age threshold
|
||||
ALWAYS_DEDUP // Enqueue Strings for deduplication
|
||||
};
|
||||
|
||||
class ShenandoahMarkingContext;
|
||||
class ShenandoahReferenceProcessor;
|
||||
|
||||
// Base class for mark
|
||||
// Mark class does not maintain states. Instead, mark states are
|
||||
// maintained by task queues, mark bitmap and SATB buffers (concurrent mark)
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include "gc/shenandoah/shenandoahBarrierSet.inline.hpp"
|
||||
#include "gc/shenandoah/shenandoahHeap.inline.hpp"
|
||||
#include "gc/shenandoah/shenandoahMarkingContext.inline.hpp"
|
||||
#include "gc/shenandoah/shenandoahOopClosures.inline.hpp"
|
||||
#include "gc/shenandoah/shenandoahStringDedup.inline.hpp"
|
||||
#include "gc/shenandoah/shenandoahTaskqueue.inline.hpp"
|
||||
#include "gc/shenandoah/shenandoahUtils.hpp"
|
||||
|
@ -33,12 +33,6 @@
|
||||
#include "memory/iterator.hpp"
|
||||
#include "runtime/javaThread.hpp"
|
||||
|
||||
enum StringDedupMode {
|
||||
NO_DEDUP, // Do not do anything for String deduplication
|
||||
ENQUEUE_DEDUP, // Enqueue candidate Strings for deduplication, if meet age threshold
|
||||
ALWAYS_DEDUP // Enqueue Strings for deduplication
|
||||
};
|
||||
|
||||
class ShenandoahMarkRefsSuperClosure : public MetadataVisitingOopIterateClosure {
|
||||
private:
|
||||
ShenandoahObjToScanQueue* _queue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user