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()
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 …]
/art/dex2oat/
Ddex2oat.cc3130 class ScopedGlobalRef { class
3132 explicit ScopedGlobalRef(jobject obj) : obj_(obj) {} in ScopedGlobalRef() function in art::ScopedGlobalRef
3133 ~ScopedGlobalRef() { in ~ScopedGlobalRef()
3149 ScopedGlobalRef global_ref(class_loader); in CompileImage()
3194 ScopedGlobalRef global_ref(class_loader); in CompileApp()