28 #include "gc/g1/g1FullGCOopClosures.hpp" |
28 #include "gc/g1/g1FullGCOopClosures.hpp" |
29 #include "gc/g1/g1FullGCTask.hpp" |
29 #include "gc/g1/g1FullGCTask.hpp" |
30 #include "gc/g1/g1RootProcessor.hpp" |
30 #include "gc/g1/g1RootProcessor.hpp" |
31 #include "gc/g1/g1StringDedup.hpp" |
31 #include "gc/g1/g1StringDedup.hpp" |
32 #include "gc/g1/heapRegionManager.hpp" |
32 #include "gc/g1/heapRegionManager.hpp" |
|
33 #include "gc/shared/weakProcessorPhaseTimes.hpp" |
|
34 #include "gc/shared/weakProcessor.hpp" |
33 #include "utilities/ticks.hpp" |
35 #include "utilities/ticks.hpp" |
34 |
36 |
35 class G1CollectedHeap; |
37 class G1CollectedHeap; |
36 |
38 |
37 class G1FullGCAdjustTask : public G1FullGCTask { |
39 class G1FullGCAdjustTask : public G1FullGCTask { |
38 G1RootProcessor _root_processor; |
40 G1RootProcessor _root_processor; |
|
41 volatile uint _references_done; // Atomic counter / bool |
|
42 WeakProcessor::Task _weak_proc_task; |
39 HeapRegionClaimer _hrclaimer; |
43 HeapRegionClaimer _hrclaimer; |
40 G1AdjustClosure _adjust; |
44 G1AdjustClosure _adjust; |
41 G1StringDedupUnlinkOrOopsDoClosure _adjust_string_dedup; |
45 G1StringDedupUnlinkOrOopsDoClosure _adjust_string_dedup; |
42 |
46 |
43 public: |
47 public: |