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