Skip to content

Commit f935345

Browse files
committed
Include fixes
1 parent 8f7e7ad commit f935345

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

src/hotspot/share/gc/z/zPage.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626

2727
#include "gc/z/zGenerationId.hpp"
2828
#include "gc/z/zLiveMap.hpp"
29+
#include "gc/z/zMemory.hpp"
2930
#include "gc/z/zPageAge.hpp"
3031
#include "gc/z/zPageType.hpp"
3132
#include "gc/z/zRememberedSet.hpp"
32-
#include "gc/z/zVirtualMemory.hpp"
3333
#include "memory/allocation.hpp"
3434
#include "oops/oopsHierarchy.hpp"
3535

src/hotspot/share/gc/z/zPageAllocator.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#include "gc/z/zGlobals.hpp"
3333
#include "gc/z/zLargePages.inline.hpp"
3434
#include "gc/z/zLock.inline.hpp"
35+
#include "gc/z/zMappedCache.hpp"
3536
#include "gc/z/zMemory.inline.hpp"
3637
#include "gc/z/zNUMA.hpp"
3738
#include "gc/z/zPage.inline.hpp"
@@ -66,7 +67,7 @@ static void sort_zoffset_ptrs(void* at, size_t size) {
6667
});
6768
}
6869

69-
struct ZSegmentStash {
70+
class ZSegmentStash {
7071
private:
7172
ZGranuleMap<zoffset>* _physical_mappings;
7273
ZArray<zoffset> _stash;

src/hotspot/share/gc/z/zPageAllocator.hpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,11 @@
2424
#ifndef SHARE_GC_Z_ZPAGEALLOCATOR_HPP
2525
#define SHARE_GC_Z_ZPAGEALLOCATOR_HPP
2626

27-
#include "gc/z/zAddress.hpp"
2827
#include "gc/z/zAllocationFlags.hpp"
2928
#include "gc/z/zArray.hpp"
3029
#include "gc/z/zGranuleMap.hpp"
3130
#include "gc/z/zList.hpp"
3231
#include "gc/z/zLock.hpp"
33-
#include "gc/z/zMappedCache.hpp"
3432
#include "gc/z/zPage.hpp"
3533
#include "gc/z/zPageAge.hpp"
3634
#include "gc/z/zPageType.hpp"
@@ -45,17 +43,16 @@ class ZGeneration;
4543
class ZPageAllocation;
4644
class ZPageAllocator;
4745
class ZPageAllocatorStats;
46+
class ZSegmentStash;
4847
class ZUncommitter;
4948
class ZWorkers;
50-
struct ZSegmentStash;
5149

5250
class ZPageAllocator {
5351
friend class VMStructs;
5452
friend class ZUncommitter;
5553

5654
private:
5755
mutable ZLock _lock;
58-
5956
ZVirtualMemoryManager _virtual;
6057
ZPhysicalMemoryManager _physical;
6158
ZGranuleMap<zoffset> _physical_mappings;

0 commit comments

Comments
 (0)