Home
last modified time | relevance | path

Searched refs:Vm (Results 1 – 9 of 9) sorted by relevance

/art/benchmark/jobject-benchmark/
Djobject_benchmark.cc55 jobject ref = soa.Vm()->AddGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeAddRemoveGlobal()
56 soa.Vm()->DeleteGlobalRef(soa.Self(), ref); in Java_JObjectBenchmark_timeAddRemoveGlobal()
65 jobject ref = soa.Vm()->AddGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeDecodeGlobal()
69 soa.Vm()->DeleteGlobalRef(soa.Self(), ref); in Java_JObjectBenchmark_timeDecodeGlobal()
78 jobject ref = soa.Vm()->AddWeakGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeAddRemoveWeakGlobal()
79 soa.Vm()->DeleteWeakGlobalRef(soa.Self(), ref); in Java_JObjectBenchmark_timeAddRemoveWeakGlobal()
88 jobject ref = soa.Vm()->AddWeakGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeDecodeWeakGlobal()
92 soa.Vm()->DeleteWeakGlobalRef(soa.Self(), ref); in Java_JObjectBenchmark_timeDecodeWeakGlobal()
/art/runtime/
Dscoped_thread_state_change.h81 JavaVMExt* Vm() const { in Vm() function
Doat_file_manager.cc649 class_loader_ = soa.Vm()->AddGlobalRef(self, soa.Decode<mirror::ClassLoader>(class_loader)); in BackgroundVerificationTask()
656 soa.Vm()->DeleteGlobalRef(self, class_loader_); in ~BackgroundVerificationTask()
Dreflection.cc456 CheckMethodArguments(soa.Vm(), method->GetInterfaceMethodIfProxy(kRuntimePointerSize), args); in InvokeWithArgArray()
/art/runtime/jit/
Djit.cc777 klass_ = soa.Vm()->AddGlobalRef(soa.Self(), method_->GetDeclaringClass()); in JitCompileTask()
785 soa.Vm()->DeleteGlobalRef(soa.Self(), klass_); in ~JitCompileTask()
991 class_loader_ = soa.Vm()->AddGlobalRef(soa.Self(), h_loader.Get()); in JitProfileTask()
1026 soa.Vm()->DeleteGlobalRef(soa.Self(), class_loader_); in ~JitProfileTask()
/art/runtime/jni/
Djni_internal.cc678 return soa.Vm()->AddGlobalRef(soa.Self(), decoded_obj); in NewGlobalRef()
690 return soa.Vm()->AddWeakGlobalRef(soa.Self(), decoded_obj); in NewWeakGlobalRef()
1993 soa.Vm()->JniAbortF("GetArrayLength", "not an array: %s", obj->PrettyTypeOf().c_str()); in GetArrayLength()
2060 soa.Vm()->JniAbortF("NewObjectArray", in NewObjectArray()
2080 soa.Vm()->JniAbortF("NewObjectArray", "cannot assign object of type '%s' to array with " in NewObjectArray()
2104 soa.Vm()->JniAbortF("GetPrimitiveArrayCritical", "expected primitive array, given %s", in GetPrimitiveArrayCritical()
2132 soa.Vm()->JniAbortF("ReleasePrimitiveArrayCritical", "expected primitive array, given %s", in ReleasePrimitiveArrayCritical()
2609 soa.Vm()->JniAbortF("NewPrimitiveArray", "negative array length: %d", length); in NewPrimitiveArray()
2625 soa.Vm()->JniAbortF(fn_name, in DecodeAndCheckArrayType()
2691 soa.Vm()->JniAbortF("ReleaseArrayElements", in ReleasePrimitiveArray()
Dcheck_jni.cc538 if (has_method_ && soa.Vm()->IsTracingEnabled()) { in Check()
548 (traceMethod != nullptr && soa.Vm()->ShouldTrace(traceMethod))) { in Check()
853 obj = soa.Vm()->DecodeWeakGlobal(soa.Self(), ref); in CheckInstance()
/art/runtime/native/
Ddalvik_system_VMDebug.cc273 soa.Vm()->DumpReferenceTables(LOG_STREAM(INFO)); in VMDebug_dumpReferenceTables()
/art/runtime/gc/
Dheap.cc1474 JavaVMExt* vm = soa.Vm(); in TrimIndirectReferenceTables()
2129 soa.Vm()->UnloadNativeLibraries(); in PerformHomogeneousSpaceCompact()
2695 soa.Vm()->UnloadNativeLibraries(); in CollectGarbageInternal()