20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26
27 #include "code/codeCache.hpp"
28 #include "gc/shared/gcTraceTime.inline.hpp"
29 #include "gc/shared/preservedMarks.inline.hpp"
30 #include "gc/shenandoah/shenandoahForwarding.inline.hpp"
31 #include "gc/shenandoah/shenandoahConcurrentMark.inline.hpp"
32 #include "gc/shenandoah/shenandoahConcurrentRoots.hpp"
33 #include "gc/shenandoah/shenandoahCollectionSet.hpp"
34 #include "gc/shenandoah/shenandoahFreeSet.hpp"
35 #include "gc/shenandoah/shenandoahPhaseTimings.hpp"
36 #include "gc/shenandoah/shenandoahMarkCompact.hpp"
37 #include "gc/shenandoah/shenandoahHeapRegionSet.hpp"
38 #include "gc/shenandoah/shenandoahHeap.inline.hpp"
39 #include "gc/shenandoah/shenandoahHeapRegion.inline.hpp"
40 #include "gc/shenandoah/shenandoahHeuristics.hpp"
41 #include "gc/shenandoah/shenandoahMarkingContext.inline.hpp"
42 #include "gc/shenandoah/shenandoahRootProcessor.inline.hpp"
43 #include "gc/shenandoah/shenandoahTaskqueue.inline.hpp"
44 #include "gc/shenandoah/shenandoahUtils.hpp"
45 #include "gc/shenandoah/shenandoahVerifier.hpp"
46 #include "gc/shenandoah/shenandoahVMOperations.hpp"
47 #include "gc/shenandoah/shenandoahWorkerPolicy.hpp"
48 #include "memory/metaspace.hpp"
49 #include "memory/universe.hpp"
50 #include "oops/compressedOops.inline.hpp"
51 #include "oops/oop.inline.hpp"
52 #include "runtime/biasedLocking.hpp"
53 #include "runtime/orderAccess.hpp"
54 #include "runtime/thread.hpp"
55 #include "utilities/copy.hpp"
56 #include "utilities/growableArray.hpp"
57 #include "gc/shared/workgroup.hpp"
58
59 ShenandoahMarkCompact::ShenandoahMarkCompact() :
60 _gc_timer(NULL),
61 _preserved_marks(new PreservedMarksSet(true)) {}
62
63 void ShenandoahMarkCompact::initialize(GCTimer* gc_timer) {
64 _gc_timer = gc_timer;
65 }
66
67 void ShenandoahMarkCompact::do_it(GCCause::Cause gc_cause) {
|
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26
27 #include "code/codeCache.hpp"
28 #include "gc/shared/gcTraceTime.inline.hpp"
29 #include "gc/shared/preservedMarks.inline.hpp"
30 #include "gc/shenandoah/shenandoahForwarding.inline.hpp"
31 #include "gc/shenandoah/shenandoahConcurrentMark.inline.hpp"
32 #include "gc/shenandoah/shenandoahConcurrentRoots.hpp"
33 #include "gc/shenandoah/shenandoahCollectionSet.hpp"
34 #include "gc/shenandoah/shenandoahFreeSet.hpp"
35 #include "gc/shenandoah/shenandoahPhaseTimings.hpp"
36 #include "gc/shenandoah/shenandoahMarkCompact.hpp"
37 #include "gc/shenandoah/shenandoahHeapRegionSet.hpp"
38 #include "gc/shenandoah/shenandoahHeap.inline.hpp"
39 #include "gc/shenandoah/shenandoahHeapRegion.inline.hpp"
40 #include "gc/shenandoah/shenandoahMarkingContext.inline.hpp"
41 #include "gc/shenandoah/shenandoahRootProcessor.inline.hpp"
42 #include "gc/shenandoah/shenandoahTaskqueue.inline.hpp"
43 #include "gc/shenandoah/shenandoahUtils.hpp"
44 #include "gc/shenandoah/shenandoahVerifier.hpp"
45 #include "gc/shenandoah/shenandoahVMOperations.hpp"
46 #include "gc/shenandoah/shenandoahWorkerPolicy.hpp"
47 #include "gc/shenandoah/heuristics/shenandoahHeuristics.hpp"
48 #include "memory/metaspace.hpp"
49 #include "memory/universe.hpp"
50 #include "oops/compressedOops.inline.hpp"
51 #include "oops/oop.inline.hpp"
52 #include "runtime/biasedLocking.hpp"
53 #include "runtime/orderAccess.hpp"
54 #include "runtime/thread.hpp"
55 #include "utilities/copy.hpp"
56 #include "utilities/growableArray.hpp"
57 #include "gc/shared/workgroup.hpp"
58
59 ShenandoahMarkCompact::ShenandoahMarkCompact() :
60 _gc_timer(NULL),
61 _preserved_marks(new PreservedMarksSet(true)) {}
62
63 void ShenandoahMarkCompact::initialize(GCTimer* gc_timer) {
64 _gc_timer = gc_timer;
65 }
66
67 void ShenandoahMarkCompact::do_it(GCCause::Cause gc_cause) {
|