45 #include "gc_implementation/g1/g1MarkSweep.hpp"
46 #include "gc_implementation/g1/g1OopClosures.inline.hpp"
47 #include "gc_implementation/g1/g1RemSet.inline.hpp"
48 #include "gc_implementation/g1/g1StringDedup.hpp"
49 #include "gc_implementation/g1/g1YCTypes.hpp"
50 #include "gc_implementation/g1/heapRegion.inline.hpp"
51 #include "gc_implementation/g1/heapRegionRemSet.hpp"
52 #include "gc_implementation/g1/heapRegionSeq.inline.hpp"
53 #include "gc_implementation/g1/vm_operations_g1.hpp"
54 #include "gc_implementation/shared/gcHeapSummary.hpp"
55 #include "gc_implementation/shared/gcTimer.hpp"
56 #include "gc_implementation/shared/gcTrace.hpp"
57 #include "gc_implementation/shared/gcTraceTime.hpp"
58 #include "gc_implementation/shared/isGCActiveMark.hpp"
59 #include "memory/gcLocker.inline.hpp"
60 #include "memory/generationSpec.hpp"
61 #include "memory/iterator.hpp"
62 #include "memory/referenceProcessor.hpp"
63 #include "oops/oop.inline.hpp"
64 #include "oops/oop.pcgc.inline.hpp"
65 #include "runtime/prefetch.inline.hpp"
66 #include "runtime/orderAccess.inline.hpp"
67 #include "runtime/vmThread.hpp"
68 #include "utilities/globalDefinitions.hpp"
69 #include "utilities/ticks.hpp"
70
71 size_t G1CollectedHeap::_humongous_object_threshold_in_words = 0;
72
73 // turn it on so that the contents of the young list (scan-only /
74 // to-be-collected) are printed at "strategic" points before / during
75 // / after the collection --- this is useful for debugging
76 #define YOUNG_LIST_VERBOSE 0
77 // CURRENT STATUS
78 // This file is under construction. Search for "FIXME".
79
80 // INVARIANTS/NOTES
81 //
82 // All allocation activity covered by the G1CollectedHeap interface is
83 // serialized by acquiring the HeapLock. This happens in mem_allocate
84 // and allocate_new_tlab, which are the "entry" points to the
|
45 #include "gc_implementation/g1/g1MarkSweep.hpp"
46 #include "gc_implementation/g1/g1OopClosures.inline.hpp"
47 #include "gc_implementation/g1/g1RemSet.inline.hpp"
48 #include "gc_implementation/g1/g1StringDedup.hpp"
49 #include "gc_implementation/g1/g1YCTypes.hpp"
50 #include "gc_implementation/g1/heapRegion.inline.hpp"
51 #include "gc_implementation/g1/heapRegionRemSet.hpp"
52 #include "gc_implementation/g1/heapRegionSeq.inline.hpp"
53 #include "gc_implementation/g1/vm_operations_g1.hpp"
54 #include "gc_implementation/shared/gcHeapSummary.hpp"
55 #include "gc_implementation/shared/gcTimer.hpp"
56 #include "gc_implementation/shared/gcTrace.hpp"
57 #include "gc_implementation/shared/gcTraceTime.hpp"
58 #include "gc_implementation/shared/isGCActiveMark.hpp"
59 #include "memory/gcLocker.inline.hpp"
60 #include "memory/generationSpec.hpp"
61 #include "memory/iterator.hpp"
62 #include "memory/referenceProcessor.hpp"
63 #include "oops/oop.inline.hpp"
64 #include "oops/oop.pcgc.inline.hpp"
65 #include "runtime/atomic.inline.hpp"
66 #include "runtime/prefetch.inline.hpp"
67 #include "runtime/orderAccess.inline.hpp"
68 #include "runtime/vmThread.hpp"
69 #include "utilities/globalDefinitions.hpp"
70 #include "utilities/ticks.hpp"
71
72 size_t G1CollectedHeap::_humongous_object_threshold_in_words = 0;
73
74 // turn it on so that the contents of the young list (scan-only /
75 // to-be-collected) are printed at "strategic" points before / during
76 // / after the collection --- this is useful for debugging
77 #define YOUNG_LIST_VERBOSE 0
78 // CURRENT STATUS
79 // This file is under construction. Search for "FIXME".
80
81 // INVARIANTS/NOTES
82 //
83 // All allocation activity covered by the G1CollectedHeap interface is
84 // serialized by acquiring the HeapLock. This happens in mem_allocate
85 // and allocate_new_tlab, which are the "entry" points to the
|