Searched refs:GcState (Results 1 – 1 of 1) sorted by relevance
186 void YoungMark() { set_young_gc_state(GcState::Copied); } in YoungMark()187 void YoungMarkPromoted() { set_young_gc_state(GcState::Promoted); } in YoungMarkPromoted()188 void YoungUnmark() { set_young_gc_state(GcState::Dead); } in YoungUnmark()189 bool IsYoungMarked() const { return young_gc_state() != GcState::Dead; } in IsYoungMarked()191 bool IsYoungPromoted() const { return young_gc_state() == GcState::Promoted; } in IsYoungPromoted()222 enum class GcState : uint8_t { Dead = 0, Copied, Promoted }; enum225 std::atomic<GcState> young_gc_state_{GcState::Dead};230 GcState young_gc_state() const { in young_gc_state()234 void set_young_gc_state(GcState value) { in set_young_gc_state()