equal
deleted
inserted
replaced
53 |
53 |
54 BitMap::idx_t segment_start(BitMap::idx_t segment) const; |
54 BitMap::idx_t segment_start(BitMap::idx_t segment) const; |
55 BitMap::idx_t segment_end(BitMap::idx_t segment) const; |
55 BitMap::idx_t segment_end(BitMap::idx_t segment) const; |
56 |
56 |
57 bool is_segment_live(BitMap::idx_t segment) const; |
57 bool is_segment_live(BitMap::idx_t segment) const; |
58 bool set_segment_live_atomic(BitMap::idx_t segment); |
58 bool set_segment_live(BitMap::idx_t segment); |
59 |
59 |
60 BitMap::idx_t first_live_segment() const; |
60 BitMap::idx_t first_live_segment() const; |
61 BitMap::idx_t next_live_segment(BitMap::idx_t segment) const; |
61 BitMap::idx_t next_live_segment(BitMap::idx_t segment) const; |
62 BitMap::idx_t index_to_segment(BitMap::idx_t index) const; |
62 BitMap::idx_t index_to_segment(BitMap::idx_t index) const; |
63 |
63 |
78 |
78 |
79 uint32_t live_objects() const; |
79 uint32_t live_objects() const; |
80 size_t live_bytes() const; |
80 size_t live_bytes() const; |
81 |
81 |
82 bool get(size_t index) const; |
82 bool get(size_t index) const; |
83 bool set_atomic(size_t index, bool finalizable, bool& inc_live); |
83 bool set(size_t index, bool finalizable, bool& inc_live); |
84 |
84 |
85 void inc_live_atomic(uint32_t objects, size_t bytes); |
85 void inc_live(uint32_t objects, size_t bytes); |
86 |
86 |
87 void iterate(ObjectClosure* cl, uintptr_t page_start, size_t page_object_alignment_shift); |
87 void iterate(ObjectClosure* cl, uintptr_t page_start, size_t page_object_alignment_shift); |
88 }; |
88 }; |
89 |
89 |
90 #endif // SHARE_GC_Z_ZLIVEMAP_HPP |
90 #endif // SHARE_GC_Z_ZLIVEMAP_HPP |