We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a4d2b4 commit 2faced0Copy full SHA for 2faced0
src/hotspot/share/gc/z/zLiveMap.inline.hpp
@@ -98,9 +98,9 @@ inline BitMap::idx_t ZLiveMap::index_to_segment(BitMap::idx_t index) const {
98
99
inline bool ZLiveMap::get(size_t index) const {
100
BitMap::idx_t segment = index_to_segment(index);
101
- return is_marked() && // Page is marked
102
- is_segment_live(segment) && // Segment is marked
103
- _bitmap.at(index); // Object is marked
+ return is_marked() && // Page is marked
+ is_segment_live(segment) && // Segment is marked
+ _bitmap.par_at(index, memory_order_relaxed); // Object is marked
104
}
105
106
inline bool ZLiveMap::set(size_t index, bool finalizable, bool& inc_live) {
1 commit comments
openjdk-notifier[bot] commentedon Oct 6, 2021
Review
Issues