22 */
23
24 #ifndef SHARE_GC_Z_ZHEAP_HPP
25 #define SHARE_GC_Z_ZHEAP_HPP
26
27 #include "gc/z/zAllocationFlags.hpp"
28 #include "gc/z/zForwardingTable.hpp"
29 #include "gc/z/zMark.hpp"
30 #include "gc/z/zObjectAllocator.hpp"
31 #include "gc/z/zPage.hpp"
32 #include "gc/z/zPageAllocator.hpp"
33 #include "gc/z/zPageTable.hpp"
34 #include "gc/z/zReferenceProcessor.hpp"
35 #include "gc/z/zRelocate.hpp"
36 #include "gc/z/zRelocationSet.hpp"
37 #include "gc/z/zWeakRootsProcessor.hpp"
38 #include "gc/z/zServiceability.hpp"
39 #include "gc/z/zUnload.hpp"
40 #include "gc/z/zWorkers.hpp"
41
42 class ZHeap {
43 friend class VMStructs;
44
45 private:
46 static ZHeap* _heap;
47
48 ZWorkers _workers;
49 ZObjectAllocator _object_allocator;
50 ZPageAllocator _page_allocator;
51 ZPageTable _page_table;
52 ZForwardingTable _forwarding_table;
53 ZMark _mark;
54 ZReferenceProcessor _reference_processor;
55 ZWeakRootsProcessor _weak_roots_processor;
56 ZRelocate _relocate;
57 ZRelocationSet _relocation_set;
58 ZUnload _unload;
59 ZServiceability _serviceability;
60
61 size_t heap_min_size() const;
|
22 */
23
24 #ifndef SHARE_GC_Z_ZHEAP_HPP
25 #define SHARE_GC_Z_ZHEAP_HPP
26
27 #include "gc/z/zAllocationFlags.hpp"
28 #include "gc/z/zForwardingTable.hpp"
29 #include "gc/z/zMark.hpp"
30 #include "gc/z/zObjectAllocator.hpp"
31 #include "gc/z/zPage.hpp"
32 #include "gc/z/zPageAllocator.hpp"
33 #include "gc/z/zPageTable.hpp"
34 #include "gc/z/zReferenceProcessor.hpp"
35 #include "gc/z/zRelocate.hpp"
36 #include "gc/z/zRelocationSet.hpp"
37 #include "gc/z/zWeakRootsProcessor.hpp"
38 #include "gc/z/zServiceability.hpp"
39 #include "gc/z/zUnload.hpp"
40 #include "gc/z/zWorkers.hpp"
41
42 class ThreadClosure;
43
44 class ZHeap {
45 friend class VMStructs;
46
47 private:
48 static ZHeap* _heap;
49
50 ZWorkers _workers;
51 ZObjectAllocator _object_allocator;
52 ZPageAllocator _page_allocator;
53 ZPageTable _page_table;
54 ZForwardingTable _forwarding_table;
55 ZMark _mark;
56 ZReferenceProcessor _reference_processor;
57 ZWeakRootsProcessor _weak_roots_processor;
58 ZRelocate _relocate;
59 ZRelocationSet _relocation_set;
60 ZUnload _unload;
61 ZServiceability _serviceability;
62
63 size_t heap_min_size() const;
|