equal
deleted
inserted
replaced
52 size_t _used_low; |
52 size_t _used_low; |
53 size_t _used; |
53 size_t _used; |
54 size_t _allocated; |
54 size_t _allocated; |
55 ssize_t _reclaimed; |
55 ssize_t _reclaimed; |
56 ZList<ZPageAllocRequest> _queue; |
56 ZList<ZPageAllocRequest> _queue; |
|
57 ZList<ZPageAllocRequest> _satisfied; |
57 mutable ZSafeDelete<ZPage> _safe_delete; |
58 mutable ZSafeDelete<ZPage> _safe_delete; |
58 bool _uncommit; |
59 bool _uncommit; |
59 bool _initialized; |
60 bool _initialized; |
60 |
61 |
61 static ZPage* const gc_marker; |
62 static ZPage* const gc_marker; |
62 |
63 |
63 void prime_cache(size_t size); |
64 void prime_cache(size_t size); |
64 |
65 |
65 void increase_used(size_t size, bool relocation); |
66 void increase_used(size_t size, bool relocation); |
66 void decrease_used(size_t size, bool reclaimed); |
67 void decrease_used(size_t size, bool reclaimed); |
115 void disable_deferred_delete() const; |
116 void disable_deferred_delete() const; |
116 |
117 |
117 void map_page(const ZPage* page) const; |
118 void map_page(const ZPage* page) const; |
118 |
119 |
119 void debug_map_page(const ZPage* page) const; |
120 void debug_map_page(const ZPage* page) const; |
120 void debug_map_cached_pages() const; |
121 void debug_unmap_page(const ZPage* page) const; |
121 void debug_unmap_all_pages() const; |
|
122 |
122 |
123 bool is_alloc_stalled() const; |
123 bool is_alloc_stalled() const; |
124 void check_out_of_memory(); |
124 void check_out_of_memory(); |
|
125 |
|
126 void pages_do(ZPageClosure* cl) const; |
125 }; |
127 }; |
126 |
128 |
127 #endif // SHARE_GC_Z_ZPAGEALLOCATOR_HPP |
129 #endif // SHARE_GC_Z_ZPAGEALLOCATOR_HPP |