Home
last modified time | relevance | path

Searched refs:IRTSegmentState (Results 1 – 6 of 6) sorted by relevance

/art/runtime/
Dindirect_reference_table.h144 struct IRTSegmentState { struct
149 static constexpr IRTSegmentState kIRTFirstSegment = { 0 }; argument
248 IndirectRef Add(IRTSegmentState previous_state, ObjPtr<mirror::Object> obj)
275 bool Remove(IRTSegmentState previous_state, IndirectRef iref);
306 IRTSegmentState GetSegmentState() const { in GetSegmentState()
310 void SetSegmentState(IRTSegmentState new_state);
380 void RecoverHoles(IRTSegmentState from);
390 IRTSegmentState segment_state_;
407 IRTSegmentState last_known_previous_state_;
Dindirect_reference_table_test.cc75 const IRTSegmentState cookie = kIRTFirstSegment; in TEST_F()
305 const IRTSegmentState cookie0 = kIRTFirstSegment; in TEST_F()
316 const IRTSegmentState cookie1 = irt.GetSegmentState(); in TEST_F()
336 const IRTSegmentState cookie0 = kIRTFirstSegment; in TEST_F()
343 const IRTSegmentState cookie1 = irt.GetSegmentState(); in TEST_F()
372 const IRTSegmentState cookie0 = kIRTFirstSegment; in TEST_F()
379 const IRTSegmentState cookie1 = irt.GetSegmentState(); in TEST_F()
387 const IRTSegmentState cookie2 = irt.GetSegmentState(); in TEST_F()
411 const IRTSegmentState cookie0 = kIRTFirstSegment; in TEST_F()
418 const IRTSegmentState cookie1 = irt.GetSegmentState(); in TEST_F()
[all …]
Djni_env_ext.h71 IRTSegmentState local_ref_cookie;
79 std::vector<IRTSegmentState> stacked_local_ref_cookies;
155 IRTSegmentState saved_local_ref_cookie_;
Dindirect_reference_table.cc176 void IndirectReferenceTable::RecoverHoles(IRTSegmentState prev_state) { in RecoverHoles()
200 IRTSegmentState prev_state, in CheckHoleCount()
201 IRTSegmentState cur_state) { in CheckHoleCount()
239 IndirectRef IndirectReferenceTable::Add(IRTSegmentState previous_state, in Add()
335 bool IndirectReferenceTable::Remove(IRTSegmentState previous_state, IndirectRef iref) { in Remove()
467 void IndirectReferenceTable::SetSegmentState(IRTSegmentState new_state) { in SetSegmentState()
Djni_internal_test.cc2336 IRTSegmentState old_state = irt.GetSegmentState(); in TEST_F()
2339 IRTSegmentState new_state; in TEST_F()
2346 *reinterpret_cast<IRTSegmentState*>(base + segment_state_offset) = new_state; in TEST_F()
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc27 static_assert(sizeof(IRTSegmentState) == sizeof(uint32_t), "IRTSegmentState size unexpected");
28 static_assert(std::is_trivial<IRTSegmentState>::value, "IRTSegmentState not trivial");
125 env->local_ref_cookie = bit_cast<IRTSegmentState>(saved_local_ref_cookie); in PopLocalReferences()