Home
last modified time | relevance | path

Searched refs:ScopedGlobalRef (Results 1 – 2 of 2) sorted by relevance

/art/test/904-object-allocation/
Dtracking.cc50 class ScopedGlobalRef { class
52 ScopedGlobalRef(JNIEnv* env, T obj) : obj_(env->NewGlobalRef(obj)) {} in ScopedGlobalRef() function in art::Test904ObjectAllocation::ScopedGlobalRef
53 ScopedGlobalRef(const ScopedGlobalRef<T>& src) noexcept in ScopedGlobalRef() function in art::Test904ObjectAllocation::ScopedGlobalRef
55 ScopedGlobalRef(ScopedGlobalRef<T>&& src) noexcept : obj_(src.obj_) { in ScopedGlobalRef() function in art::Test904ObjectAllocation::ScopedGlobalRef
59 ~ScopedGlobalRef() { in ~ScopedGlobalRef()
79 ScopedGlobalRef<jthread> thr_;
100 ScopedGlobalRef<jthread>(jni_env, thread)}); in ObjectAllocated()
/art/dex2oat/
Ddex2oat.cc2852 class ScopedGlobalRef { class
2854 explicit ScopedGlobalRef(jobject obj) : obj_(obj) {} in ScopedGlobalRef() function in art::ScopedGlobalRef
2855 ~ScopedGlobalRef() { in ~ScopedGlobalRef()
2871 ScopedGlobalRef global_ref(class_loader); in CompileImage()
2916 ScopedGlobalRef global_ref(class_loader); in CompileApp()