Home
last modified time | relevance | path

Searched refs:weak_globals_ (Results 1 – 4 of 4) sorted by relevance

/art/runtime/jni/
Djava_vm_ext.cc517 weak_globals_(kWeakGlobal), in JavaVMExt()
534 weak_globals_.Initialize(kWeakGlobalsMax, error_msg); in Initialize()
692 ATraceIntegerValue("JNI Weak Global Refs", weak_globals_.NEntriesForGlobal()); in MaybeTraceWeakGlobals()
741 IndirectRef ref = weak_globals_.Add(obj, &error_msg); in AddWeakGlobalRef()
770 if (!weak_globals_.Remove(obj)) { in DeleteWeakGlobalRef()
803 if (weak_globals_.Capacity() > 0) { in DumpForSigQuit()
804 os << " (plus " << weak_globals_.Capacity() << " weak)"; in DumpForSigQuit()
858 return weak_globals_.Get(ref); in DecodeWeakGlobal()
873 return weak_globals_.Get(ref); in DecodeWeakGlobalLocked()
878 return weak_globals_.Get(ref); in DecodeWeakGlobalAsStrong()
[all …]
Djava_vm_ext.h167 weak_globals_.SweepJniWeakGlobals(visitor); in SweepJniWeakGlobals()
270 IndirectReferenceTable weak_globals_; variable
Dcheck_jni.cc63 IndirectReferenceTable* irt = (kind == kGlobal) ? &vm->globals_ : &vm->weak_globals_; in GetIndirectReferenceTable()
/art/dex2oat/linker/
Dimage_writer.cc415 return ObjPtr<MirrorType>::DownCast(vm->weak_globals_.Get<kWithoutReadBarrier>(obj)); in DecodeWeakGlobalWithoutRB()