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()78 ScopedGlobalRef<jclass> object_klass;79 ScopedGlobalRef<jclass> object_klass2;81 ScopedGlobalRef<jthread> thr_;95 gEvents.push_back({ScopedGlobalRef<jclass>(jni_env, object_klass), in ObjectAllocated()96 ScopedGlobalRef<jclass>(jni_env, object_klass2.get()), in ObjectAllocated()[all …]
3130 class ScopedGlobalRef { class3132 explicit ScopedGlobalRef(jobject obj) : obj_(obj) {} in ScopedGlobalRef() function in art::ScopedGlobalRef3133 ~ScopedGlobalRef() { in ~ScopedGlobalRef()3149 ScopedGlobalRef global_ref(class_loader); in CompileImage()3194 ScopedGlobalRef global_ref(class_loader); in CompileApp()