Skip to content

Commit 1a62a12

Browse files
author
Thomas Schatzl
committed
8302880: Fix includes in g1ConcurrentMarkObjArrayProcessor files
Reviewed-by: ayang, kbarrett
1 parent ee37af4 commit 1a62a12

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/hotspot/share/gc/g1/g1ConcurrentMarkObjArrayProcessor.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,13 @@
2323
*/
2424

2525
#include "precompiled.hpp"
26+
#include "gc/g1/g1CollectedHeap.inline.hpp"
2627
#include "gc/g1/g1ConcurrentMark.inline.hpp"
2728
#include "gc/g1/g1ConcurrentMarkObjArrayProcessor.inline.hpp"
29+
#include "gc/g1/heapRegion.inline.hpp"
30+
#include "gc/shared/gc_globals.hpp"
31+
#include "memory/memRegion.hpp"
32+
#include "utilities/globalDefinitions.hpp"
2833

2934
void G1CMObjArrayProcessor::push_array_slice(HeapWord* what) {
3035
_task->push(G1TaskQueueEntry::from_slice(what));

src/hotspot/share/gc/g1/g1ConcurrentMarkObjArrayProcessor.inline.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
#include "oops/oop.inline.hpp"
3131
#include "oops/oopsHierarchy.hpp"
32-
#include "runtime/globals.hpp"
32+
#include "gc/shared/gc_globals.hpp"
3333

3434
inline bool G1CMObjArrayProcessor::should_be_sliced(oop obj) {
3535
return obj->is_objArray() && ((objArrayOop)obj)->size() >= 2 * ObjArrayMarkingStride;

0 commit comments

Comments
 (0)