Home
last modified time | relevance | path

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

/art/runtime/
Djni_env_ext.h64 uint32_t local_ref_cookie; member
120 saved_local_ref_cookie_ = env->local_ref_cookie; in ScopedJniEnvLocalRefState()
121 env->local_ref_cookie = env->locals.GetSegmentState(); in ScopedJniEnvLocalRefState()
125 env_->locals.SetSegmentState(env_->local_ref_cookie); in ~ScopedJniEnvLocalRefState()
126 env_->local_ref_cookie = saved_local_ref_cookie_; in ~ScopedJniEnvLocalRefState()
Djni_env_ext.cc59 local_ref_cookie(IRT_FIRST_SEGMENT), in JNIEnvExt()
83 return reinterpret_cast<jobject>(locals.Add(local_ref_cookie, obj)); in NewLocalRef()
88 locals.Remove(local_ref_cookie, reinterpret_cast<IndirectRef>(obj)); in DeleteLocalRef()
104 stacked_local_ref_cookies.push_back(local_ref_cookie); in PushFrame()
105 local_ref_cookie = locals.GetSegmentState(); in PushFrame()
109 locals.SetSegmentState(local_ref_cookie); in PopFrame()
110 local_ref_cookie = stacked_local_ref_cookies.back(); in PopFrame()
Djni_env_ext-inl.h28 IndirectRef ref = locals.Add(local_ref_cookie, obj); in AddLocalReference()
Djni_internal_test.cc2288 EXPECT_EQ(OFFSETOF_MEMBER(JNIEnvExt, local_ref_cookie), in TEST_F()
Djni_internal.cc561 if (!ext_env->locals.Remove(ext_env->local_ref_cookie, obj)) { in DeleteLocalRef()
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc36 uint32_t saved_local_ref_cookie = env->local_ref_cookie; in JniMethodStart()
37 env->local_ref_cookie = env->locals.GetSegmentState(); in JniMethodStart()
71 env->locals.SetSegmentState(env->local_ref_cookie); in PopLocalReferences()
72 env->local_ref_cookie = saved_local_ref_cookie; in PopLocalReferences()