62 #include "gc/shared/gcId.hpp"
63 #include "gc/shared/gcLocker.inline.hpp"
64 #include "gc/shared/gcTimer.hpp"
65 #include "gc/shared/gcTrace.hpp"
66 #include "gc/shared/gcTraceTime.inline.hpp"
67 #include "gc/shared/generationSpec.hpp"
68 #include "gc/shared/isGCActiveMark.hpp"
69 #include "gc/shared/preservedMarks.inline.hpp"
70 #include "gc/shared/referenceProcessor.inline.hpp"
71 #include "gc/shared/taskqueue.inline.hpp"
72 #include "logging/log.hpp"
73 #include "memory/allocation.hpp"
74 #include "memory/iterator.hpp"
75 #include "memory/resourceArea.hpp"
76 #include "oops/oop.inline.hpp"
77 #include "prims/resolvedMethodTable.hpp"
78 #include "runtime/atomic.hpp"
79 #include "runtime/init.hpp"
80 #include "runtime/orderAccess.inline.hpp"
81 #include "runtime/vmThread.hpp"
82 #include "utilities/globalDefinitions.hpp"
83 #include "utilities/stack.inline.hpp"
84
85 size_t G1CollectedHeap::_humongous_object_threshold_in_words = 0;
86
87 // INVARIANTS/NOTES
88 //
89 // All allocation activity covered by the G1CollectedHeap interface is
90 // serialized by acquiring the HeapLock. This happens in mem_allocate
91 // and allocate_new_tlab, which are the "entry" points to the
92 // allocation code from the rest of the JVM. (Note that this does not
93 // apply to TLAB allocation, which is not part of this interface: it
94 // is done by clients of this interface.)
95
96 // Local to this file.
97
98 class RefineCardTableEntryClosure: public CardTableEntryClosure {
99 bool _concurrent;
100 public:
101 RefineCardTableEntryClosure() : _concurrent(true) { }
|
62 #include "gc/shared/gcId.hpp"
63 #include "gc/shared/gcLocker.inline.hpp"
64 #include "gc/shared/gcTimer.hpp"
65 #include "gc/shared/gcTrace.hpp"
66 #include "gc/shared/gcTraceTime.inline.hpp"
67 #include "gc/shared/generationSpec.hpp"
68 #include "gc/shared/isGCActiveMark.hpp"
69 #include "gc/shared/preservedMarks.inline.hpp"
70 #include "gc/shared/referenceProcessor.inline.hpp"
71 #include "gc/shared/taskqueue.inline.hpp"
72 #include "logging/log.hpp"
73 #include "memory/allocation.hpp"
74 #include "memory/iterator.hpp"
75 #include "memory/resourceArea.hpp"
76 #include "oops/oop.inline.hpp"
77 #include "prims/resolvedMethodTable.hpp"
78 #include "runtime/atomic.hpp"
79 #include "runtime/init.hpp"
80 #include "runtime/orderAccess.inline.hpp"
81 #include "runtime/vmThread.hpp"
82 #include "utilities/align.hpp"
83 #include "utilities/globalDefinitions.hpp"
84 #include "utilities/stack.inline.hpp"
85
86 size_t G1CollectedHeap::_humongous_object_threshold_in_words = 0;
87
88 // INVARIANTS/NOTES
89 //
90 // All allocation activity covered by the G1CollectedHeap interface is
91 // serialized by acquiring the HeapLock. This happens in mem_allocate
92 // and allocate_new_tlab, which are the "entry" points to the
93 // allocation code from the rest of the JVM. (Note that this does not
94 // apply to TLAB allocation, which is not part of this interface: it
95 // is done by clients of this interface.)
96
97 // Local to this file.
98
99 class RefineCardTableEntryClosure: public CardTableEntryClosure {
100 bool _concurrent;
101 public:
102 RefineCardTableEntryClosure() : _concurrent(true) { }
|