Searched refs:ScopedGlobalRef (Results 1 – 2 of 2) sorted by relevance
50 class ScopedGlobalRef { class52 ScopedGlobalRef(JNIEnv* env, T obj) : obj_(env->NewGlobalRef(obj)) {} in ScopedGlobalRef() function in art::Test904ObjectAllocation::ScopedGlobalRef53 ScopedGlobalRef(const ScopedGlobalRef<T>& src) noexcept in ScopedGlobalRef() function in art::Test904ObjectAllocation::ScopedGlobalRef55 ScopedGlobalRef(ScopedGlobalRef<T>&& src) noexcept : obj_(src.obj_) { in ScopedGlobalRef() function in art::Test904ObjectAllocation::ScopedGlobalRef59 ~ScopedGlobalRef() { in ~ScopedGlobalRef()79 ScopedGlobalRef<jthread> thr_;100 ScopedGlobalRef<jthread>(jni_env, thread)}); in ObjectAllocated()
2852 class ScopedGlobalRef { class2854 explicit ScopedGlobalRef(jobject obj) : obj_(obj) {} in ScopedGlobalRef() function in art::ScopedGlobalRef2855 ~ScopedGlobalRef() { in ~ScopedGlobalRef()2871 ScopedGlobalRef global_ref(class_loader); in CompileImage()2916 ScopedGlobalRef global_ref(class_loader); in CompileApp()