Home
last modified time | relevance | path

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

/art/runtime/
Dindirect_reference_table.h145 struct IRTSegmentState { struct
150 static constexpr IRTSegmentState kIRTFirstSegment = { 0 }; argument
251 IndirectRef Add(IRTSegmentState previous_state,
280 bool Remove(IRTSegmentState previous_state, IndirectRef iref);
317 IRTSegmentState GetSegmentState() const { in GetSegmentState()
321 void SetSegmentState(IRTSegmentState new_state);
396 void RecoverHoles(IRTSegmentState from);
405 IRTSegmentState segment_state_;
422 IRTSegmentState last_known_previous_state_;
Dindirect_reference_table_test.cc77 const IRTSegmentState cookie = kIRTFirstSegment; in TEST_F()
306 const IRTSegmentState cookie0 = kIRTFirstSegment; in TEST_F()
317 const IRTSegmentState cookie1 = irt.GetSegmentState(); in TEST_F()
337 const IRTSegmentState cookie0 = kIRTFirstSegment; in TEST_F()
344 const IRTSegmentState cookie1 = irt.GetSegmentState(); in TEST_F()
373 const IRTSegmentState cookie0 = kIRTFirstSegment; in TEST_F()
380 const IRTSegmentState cookie1 = irt.GetSegmentState(); in TEST_F()
388 const IRTSegmentState cookie2 = irt.GetSegmentState(); in TEST_F()
412 const IRTSegmentState cookie0 = kIRTFirstSegment; in TEST_F()
419 const IRTSegmentState cookie1 = irt.GetSegmentState(); in TEST_F()
[all …]
Dindirect_reference_table.cc185 void IndirectReferenceTable::RecoverHoles(IRTSegmentState prev_state) { in RecoverHoles()
209 IRTSegmentState prev_state, in CheckHoleCount()
210 IRTSegmentState cur_state) { in CheckHoleCount()
248 IndirectRef IndirectReferenceTable::Add(IRTSegmentState previous_state, in Add()
351 bool IndirectReferenceTable::Remove(IRTSegmentState previous_state, IndirectRef iref) { in Remove()
490 void IndirectReferenceTable::SetSegmentState(IRTSegmentState new_state) { in SetSegmentState()
/art/runtime/jni/
Djni_env_ext.h87 IRTSegmentState GetLocalRefCookie() const { return local_ref_cookie_; } in GetLocalRefCookie()
88 void SetLocalRefCookie(IRTSegmentState new_cookie) { local_ref_cookie_ = new_cookie; } in SetLocalRefCookie()
90 IRTSegmentState GetLocalsSegmentState() const REQUIRES_SHARED(Locks::mutator_lock_) { in GetLocalsSegmentState()
93 void SetLocalSegmentState(IRTSegmentState new_state) REQUIRES_SHARED(Locks::mutator_lock_) { in SetLocalSegmentState()
179 IRTSegmentState local_ref_cookie_;
187 std::vector<IRTSegmentState> stacked_local_ref_cookies_;
239 const IRTSegmentState saved_local_ref_cookie_;
Djni_internal_test.cc2574 IRTSegmentState old_state = irt.GetSegmentState(); in TEST_F()
2577 IRTSegmentState new_state; in TEST_F()
2584 *reinterpret_cast<IRTSegmentState*>(base + segment_state_offset) = new_state; in TEST_F()
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc41 static_assert(sizeof(IRTSegmentState) == sizeof(uint32_t), "IRTSegmentState size unexpected");
42 static_assert(std::is_trivial<IRTSegmentState>::value, "IRTSegmentState not trivial");
133 env->SetLocalRefCookie(bit_cast<IRTSegmentState>(saved_local_ref_cookie)); in PopLocalReferences()
Dquick_trampoline_entrypoints.cc1803 static_assert(sizeof(uintptr_t) >= sizeof(IRTSegmentState)); in ComputeLayout()