Home
last modified time | relevance | path

Searched refs:art (Results 51 – 75 of 2951) sorted by relevance

12345678910>>...119

/art/openjdkjvmti/
Dti_object.cc53 art::ScopedObjectAccess soa(art::Thread::Current()); in GetObjectSize()
54 art::ObjPtr<art::mirror::Object> object = soa.Decode<art::mirror::Object>(jobject); in GetObjectSize()
70 art::ScopedObjectAccess soa(art::Thread::Current()); in GetObjectHashCode()
71 art::ObjPtr<art::mirror::Object> object = soa.Decode<art::mirror::Object>(jobject); in GetObjectHashCode()
87 art::Thread* self = art::Thread::Current(); in GetObjectMonitorUsage()
89 art::JNIEnvExt* jni = self->GetJniEnv(); in GetObjectMonitorUsage()
93 art::ScopedObjectAccess soa(self); // Now we know we have the shared lock. in GetObjectMonitorUsage()
94 art::ScopedThreadSuspension sts(self, art::kNative); in GetObjectMonitorUsage()
95 art::ScopedSuspendAll ssa("GetObjectMonitorUsage", /*long_suspend=*/false); in GetObjectMonitorUsage()
96 art::ObjPtr<art::mirror::Object> target(self->DecodeJObject(obj)); in GetObjectMonitorUsage()
[all …]
Dfixed_up_dex_file.cc49 static void RecomputeDexChecksum(art::DexFile* dex_file) { in RecomputeDexChecksum()
50 reinterpret_cast<art::DexFile::Header*>(const_cast<uint8_t*>(dex_file->Begin()))->checksum_ = in RecomputeDexChecksum()
54 static const art::VdexFile* GetVdex(const art::DexFile& original_dex_file) { in GetVdex()
55 const art::OatDexFile* oat_dex = original_dex_file.GetOatDexFile(); in GetVdex()
59 const art::OatFile* oat_file = oat_dex->GetOatFile(); in GetVdex()
66 static void DoDexUnquicken(const art::DexFile& new_dex_file, in DoDexUnquicken()
67 const art::DexFile& original_dex_file) { in DoDexUnquicken()
68 const art::VdexFile* vdex = GetVdex(original_dex_file); in DoDexUnquicken()
76 static void DCheckVerifyDexFile(const art::DexFile& dex) { in DCheckVerifyDexFile()
77 if (art::kIsDebugBuild) { in DCheckVerifyDexFile()
[all …]
Dti_class_definition.h73 art::Handle<art::mirror::ClassLoader> klass_loader,
74 const art::DexFile& dex_file);
75 jvmtiError Init(art::Thread* self, jclass klass);
76 jvmtiError Init(art::Thread* self, const jvmtiClassDefinition& def);
86 art::ArrayRef<const unsigned char> new_data(new_dex_data, new_dex_len); in SetNewDexData()
90 dex_data_ = art::ArrayRef<const unsigned char>(dex_data_memory_); in SetNewDexData()
102 art::ArrayRef<const unsigned char> GetNewOriginalDexFile() const { in GetNewOriginalDexFile()
107 return art::ArrayRef<const unsigned char>(); in GetNewOriginalDexFile()
117 bool IsModified() const REQUIRES_SHARED(art::Locks::mutator_lock_);
150 art::ArrayRef<const unsigned char> GetDexData() const { in GetDexData()
[all …]
Dti_heap.h26 namespace art {
95 art::Thread* self,
96 const std::unordered_map<art::ObjPtr<art::mirror::Object>,
97 art::ObjPtr<art::mirror::Object>,
98 art::HashObjPtr>& refs)
99 REQUIRES(art::Locks::mutator_lock_, art::Roles::uninterruptible_);
101 static void ReplaceReference(art::Thread* self,
102 art::ObjPtr<art::mirror::Object> original,
103 art::ObjPtr<art::mirror::Object> replacement)
104 REQUIRES(art::Locks::mutator_lock_,
[all …]
Dtransform.cc76 class TransformationFaultHandler final : public art::FaultHandler {
78 explicit TransformationFaultHandler(art::FaultManager* manager) in TransformationFaultHandler()
79 : art::FaultHandler(manager), in TransformationFaultHandler()
81 art::LockLevel::kSignalHandlingLock), in TransformationFaultHandler()
88 art::MutexLock mu(art::Thread::Current(), uninitialized_class_definitions_lock_); in ~TransformationFaultHandler()
94 art::Thread* self = art::Thread::Current(); in Action()
114 art::MutexLock mu(self, uninitialized_class_definitions_lock_); in Action()
140 CHECK_EQ(self->GetState(), art::ThreadState::kNative) in Action()
149 art::MutexLock mu(self, uninitialized_class_definitions_lock_); in Action()
162 art::MutexLock mu(art::Thread::Current(), uninitialized_class_definitions_lock_); in RemoveDefinition()
[all …]
Dti_phase.cc49 struct PhaseUtil::PhaseCallback : public art::RuntimePhaseCallback {
51 return reinterpret_cast<JNIEnv*>(art::Thread::Current()->GetJniEnv()); in GetJniEnv()
55 art::ScopedObjectAccess soa(art::Thread::Current()); in GetCurrentJThread()
59 void NextRuntimePhase(RuntimePhase phase) REQUIRES_SHARED(art::Locks::mutator_lock_) override { in NextRuntimePhase()
60 art::Thread* self = art::Thread::Current(); in NextRuntimePhase()
142 art::ScopedThreadStateChange stsc(art::Thread::Current(), in Register()
143 art::ThreadState::kWaitingForDebuggerToAttach); in Register()
144 art::ScopedSuspendAll ssa("Add phase callback"); in Register()
145 art::Runtime::Current()->GetRuntimeCallbacks()->AddRuntimePhaseCallback(&gPhaseCallback); in Register()
149 art::ScopedThreadStateChange stsc(art::Thread::Current(), in Unregister()
[all …]
/art/tools/cpp-define-generator/
Dlockword.def22 art::LockWord::kGCStateMaskShifted)
24 art::LockWord::kGCStateMaskShiftedToggled)
26 art::LockWord::kGCStateShift)
28 art::LockWord::kGCStateSize)
30 art::LockWord::kMarkBitStateMaskShifted)
32 art::LockWord::kMarkBitStateShift)
34 art::LockWord::kReadBarrierStateMaskShifted)
36 art::LockWord::kReadBarrierStateMaskShiftedToggled)
38 art::LockWord::kReadBarrierStateShift)
40 art::LockWord::kStateForwardingAddress)
[all …]
Dmirror_class.def22 art::mirror::Class::AccessFlagsOffset().Int32Value())
24 art::mirror::Class::ComponentTypeOffset().Int32Value())
26 art::mirror::Class::DexCacheOffset().Int32Value())
28 art::mirror::Class::IfTableOffset().Int32Value())
30 art::mirror::Class::PrimitiveTypeOffset().Int32Value())
32 art::mirror::Class::ObjectSizeAllocFastPathOffset().Int32Value())
34 art::mirror::Class::ObjectSizeOffset().Int32Value())
36 art::mirror::Class::StatusOffset().Int32Value())
38 art::mirror::Class::kPrimitiveTypeSizeShiftShift)
40 art::mirror::Class::EmbeddedVTableOffset(art::PointerSize::k32).Int32Value())
[all …]
Dart_method.def22 art::ArtMethod::AccessFlagsOffset().Int32Value())
24 art::kAccStatic)
26 art::ArtMethod::DeclaringClassOffset().Int32Value())
28 art::ArtMethod::EntryPointFromJniOffset(art::PointerSize::k32).Int32Value())
30 art::ArtMethod::EntryPointFromJniOffset(art::PointerSize::k64).Int32Value())
32art::ArtMethod::EntryPointFromQuickCompiledCodeOffset(art::PointerSize::k32).Int32Value())
34art::ArtMethod::EntryPointFromQuickCompiledCodeOffset(art::PointerSize::k64).Int32Value())
36 art::ArtMethod::MethodIndexOffset().Int32Value())
38 art::ArtMethod::ImtIndexOffset().Int32Value())
40 art::ArtMethod::HotnessCountOffset().Int32Value())
Druntime.def22 art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveAllCalleeSaves))
24 art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForClinit))
26art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForSuspendCheck))
28 art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverything))
30 art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsAndArgs))
32 art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsOnly))
/art/test/1913-get-set-local-objects/
Dexpected.txt1 Running public static void art.Test1913.ObjectMethod(java.lang.Runnable) with "GetGetObject" on rem…
2 "GetGetObject" on public static void art.Test1913.ObjectMethod(java.lang.Runnable) got value: TestC…
3 Value is 'TestClass1("ObjectMethod")' (class: class art.Test1913$TestClass1)
4 Running public static void art.Test1913.ObjectMethod(java.lang.Runnable) with "SetNull" on remote t…
5 "SetNull" on public static void art.Test1913.ObjectMethod(java.lang.Runnable) set value: null
7 Running public static void art.Test1913.ObjectMethod(java.lang.Runnable) with "SetTestClass1" on re…
8 "SetTestClass1" on public static void art.Test1913.ObjectMethod(java.lang.Runnable) set value: Test…
9 Value is 'TestClass1("Set TestClass1")' (class: class art.Test1913$TestClass1)
10 Running public static void art.Test1913.ObjectMethod(java.lang.Runnable) with "SetTestClass1ext" on…
11 "SetTestClass1ext" on public static void art.Test1913.ObjectMethod(java.lang.Runnable) set value: T…
[all …]
/art/test/1982-no-virtuals-structural-redefinition/
Dexpected.txt2 public static java.lang.Object art.Test1982$Transform.BAR on (ID: 0) <NULL> = (ID: 1) value of <BAR…
3 public static java.lang.Object art.Test1982$Transform.FOO on (ID: 0) <NULL> = (ID: 2) value of <FOO…
5 public static java.lang.Object art.Test1982$Transform.BAR on (ID: 3) SuperTransform { id: 2, class:…
6 public static java.lang.Object art.Test1982$Transform.FOO on (ID: 3) SuperTransform { id: 2, class:…
7 public int art.Test1982$SuperTransform.id on (ID: 3) SuperTransform { id: 2, class: class art.Test1…
11 t1 is (ID: 5) SuperTransform { id: 1, class: class art.Test1982$Transform }
12 t2 is (ID: 3) SuperTransform { id: 2, class: class art.Test1982$SubTransform }
13 Redefined: class art.Test1982$Transform[FOO: value of <FOO FIELD>, BAR: value of <BAR FIELD>, BAZ: …
15 public static java.lang.Object art.Test1982$Transform.BAR on (ID: 0) <NULL> = (ID: 1) value of <BAR…
16 public static java.lang.Object art.Test1982$Transform.BAZ on (ID: 0) <NULL> = (ID: 0) <NULL>
[all …]
/art/tools/luci/config/
Dluci-milo.cfg1 logo_url: "https://storage.googleapis.com/chrome-infra-public/logo/art-logo.png"
6 repo_url: "https://android.googlesource.com/platform/art"
12 name: "buildbucket/luci.art.ci/angler-armv7-debug"
17 name: "buildbucket/luci.art.ci/angler-armv7-non-gen-cc"
22 name: "buildbucket/luci.art.ci/angler-armv7-ndebug"
27 name: "buildbucket/luci.art.ci/angler-armv8-debug"
32 name: "buildbucket/luci.art.ci/angler-armv8-non-gen-cc"
37 name: "buildbucket/luci.art.ci/angler-armv8-ndebug"
42 name: "buildbucket/luci.art.ci/aosp-builder-cc"
47 name: "buildbucket/luci.art.ci/aosp-builder-cms"
[all …]
/art/perfetto_hprof/
Dperfetto_hprof.cc75 static art::Mutex& GetStateMutex() { in GetStateMutex()
76 static art::Mutex state_mutex("perfetto_hprof_state_mutex", art::LockLevel::kGenericBottomLock); in GetStateMutex()
80 static art::ConditionVariable& GetStateCV() { in GetStateCV()
81 static art::ConditionVariable state_cv("perfetto_hprof_state_cv", GetStateMutex()); in GetStateCV()
239 art::MutexLock lk(art_thread(), GetStateMutex()); in OnStart()
248 static art::Thread* art_thread() { in art_thread()
261 static art::Thread* self_;
264 art::Thread* JavaHprofDataSource::self_ = nullptr;
267 void WaitForDataSource(art::Thread* self) { in WaitForDataSource()
278 art::MutexLock lk(self, GetStateMutex()); in WaitForDataSource()
[all …]
/art/runtime/entrypoints/quick/
Dquick_default_externs.h22 namespace art {
34 extern "C" void art_quick_check_instance_of(art::mirror::Object*, art::mirror::Class*);
37 extern "C" void* art_quick_initialize_static_storage(art::mirror::Class*);
71 extern "C" void art_quick_aput_obj_with_null_and_bound_check(art::mirror::Array*, int32_t,
72 art::mirror::Object*);
73 extern "C" void art_quick_aput_obj_with_bound_check(art::mirror::Array*, int32_t,
74 art::mirror::Object*);
75 extern "C" void art_quick_aput_obj(art::mirror::Array*, int32_t, art::mirror::Object*);
79 extern "C" void art_quick_lock_object(art::mirror::Object*);
80 extern "C" void art_quick_unlock_object(art::mirror::Object*);
[all …]
/art/test/
DAndroid.run-test.mk18 include art/build/Android.common_test.mk
97 test-art-host-run-test-dependencies : \
100 .PHONY: test-art-host-run-test-dependencies
101 test-art-target-run-test-dependencies :
102 .PHONY: test-art-target-run-test-dependencies
103 test-art-run-test-dependencies : test-art-host-run-test-dependencies test-art-target-run-test-depen…
104 .PHONY: test-art-run-test-dependencies
108 define define-test-art-host-or-target-run-test-group
109 build_target := test-art-$(1)-run-test
113 $$(build_target) : test-art-$(1)-run-test-dependencies
[all …]
/art/test/1912-get-set-local-primitive/
Dexpected.txt1 Running public static void art.Test1912.IntMethod(java.lang.Runnable) with "GetInt" on remote threa…
2 "GetInt" on public static void art.Test1912.IntMethod(java.lang.Runnable) got value: 42
4 Running public static void art.Test1912.IntMethod(java.lang.Runnable) with "GetLong" on remote thre…
5 "GetLong" on public static void art.Test1912.IntMethod(java.lang.Runnable) failed due to JVMTI_ERRO…
7 Running public static void art.Test1912.IntMethod(java.lang.Runnable) with "GetFloat" on remote thr…
8 "GetFloat" on public static void art.Test1912.IntMethod(java.lang.Runnable) failed due to JVMTI_ERR…
10 Running public static void art.Test1912.IntMethod(java.lang.Runnable) with "GetDouble" on remote th…
11 "GetDouble" on public static void art.Test1912.IntMethod(java.lang.Runnable) failed due to JVMTI_ER…
13 Running public static void art.Test1912.IntMethod(java.lang.Runnable) with "GetObject" on remote th…
14 "GetObject" on public static void art.Test1912.IntMethod(java.lang.Runnable) failed due to JVMTI_ER…
[all …]
/art/test/1967-get-set-local-bad-slot/
Dexpected.txt1 Running public static void art.Test1967.IntMethod(java.lang.Runnable) with "GetInt_at_too_high" on …
2 "GetInt_at_too_high" on public static void art.Test1967.IntMethod(java.lang.Runnable) failed due to…
4 Running public static void art.Test1967.IntMethod(java.lang.Runnable) with "GetLong_at_too_high" on…
5 "GetLong_at_too_high" on public static void art.Test1967.IntMethod(java.lang.Runnable) failed due t…
7 Running public static void art.Test1967.IntMethod(java.lang.Runnable) with "GetObject_at_too_high" …
8 "GetObject_at_too_high" on public static void art.Test1967.IntMethod(java.lang.Runnable) failed due…
10 Running public static void art.Test1967.IntMethod(java.lang.Runnable) with "SetInt_at_too_high" on …
11 "SetInt_at_too_high" on public static void art.Test1967.IntMethod(java.lang.Runnable) failed to set…
13 Running public static void art.Test1967.IntMethod(java.lang.Runnable) with "SetLong_at_too_high" on…
14 "SetLong_at_too_high" on public static void art.Test1967.IntMethod(java.lang.Runnable) failed to se…
[all …]
/art/test/997-single-step/
Dexpected.txt2 Single step: public static void art.Test997.doMultiPath(boolean) @ line=41
3 Single step: public static void art.Test997.doMultiPath(boolean) @ line=42
4 Single step: public static void art.Test997.doMultiPath(boolean) @ line=43
5 Single step: public static void art.Test997.doMultiPath(boolean) @ line=47
6 Single step: public static void art.Test997.doMultiPath(boolean) @ line=48
8 Single step: public static void art.Test997.doMultiPath(boolean) @ line=41
9 Single step: public static void art.Test997.doMultiPath(boolean) @ line=42
10 Single step: public static void art.Test997.doMultiPath(boolean) @ line=45
11 Single step: public static void art.Test997.doMultiPath(boolean) @ line=47
12 Single step: public static void art.Test997.doMultiPath(boolean) @ line=48
/art/test/1914-get-local-instance/
Dexpected.txt1 Running public static void art.Test1914.StaticMethod(java.lang.Runnable) with "GetThis" on remote t…
2 "GetThis" on public static void art.Test1914.StaticMethod(java.lang.Runnable) got value: null
4 Running public static native void art.Test1914.NativeStaticMethod(java.lang.Runnable) with "GetThis…
5 "GetThis" on public static native void art.Test1914.NativeStaticMethod(java.lang.Runnable) got valu…
7 Running public void art.Test1914$TargetClass.InstanceMethod(java.lang.Runnable) with "GetThis" on r…
8 "GetThis" on public void art.Test1914$TargetClass.InstanceMethod(java.lang.Runnable) got value: Tar…
9 Value is 'TargetClass("InstanceMethodObject")' (class: class art.Test1914$TargetClass)
10 Running public native void art.Test1914$TargetClass.NativeInstanceMethod(java.lang.Runnable) with "…
11 "GetThis" on public native void art.Test1914$TargetClass.NativeInstanceMethod(java.lang.Runnable) g…
12 Value is 'TargetClass("NativeInstanceMethodObject")' (class: class art.Test1914$TargetClass)
[all …]
/art/adbconnection/
Dadbconnection.cc91 return art::Dbg::IsJdwpAllowed(); in IsDebuggingPossible()
99 if (IsDebuggingPossible() || art::Runtime::Current()->IsProfileableFromShell()) { in StartDebugger()
125 return IsDebuggingPossible() && !art::Runtime::Current()->GetJdwpOptions().empty(); in IsDebuggerConfigured()
129 const art::ArrayRef<const uint8_t>& data) { in DdmPublishChunk()
168 art::ScopedObjectAccess soa(art::Thread::Current()); in AdbConnectionState()
169 art::Runtime::Current()->GetRuntimeCallbacks()->AddDebuggerControlCallback(&controller_); in AdbConnectionState()
174 art::Thread* self = art::Thread::Current(); in ~AdbConnectionState()
176 art::ScopedObjectAccess soa(self); in ~AdbConnectionState()
177 art::Runtime::Current()->GetRuntimeCallbacks()->RemoveDebuggerControlCallback(&controller_); in ~AdbConnectionState()
181 static jobject CreateAdbConnectionThread(art::Thread* thr) { in CreateAdbConnectionThread()
[all …]
/art/openjdkjvm/
DOpenjdkJvm.cc288 art::ScopedFastNativeObjectAccess soa(env); in JVM_InternString()
289 art::ObjPtr<art::mirror::String> s = soa.Decode<art::mirror::String>(jstr); in JVM_InternString()
294 return art::Runtime::Current()->GetHeap()->GetFreeMemory(); in JVM_FreeMemory()
298 return art::Runtime::Current()->GetHeap()->GetTotalMemory(); in JVM_TotalMemory()
302 return art::Runtime::Current()->GetHeap()->GetMaxMemory(); in JVM_MaxMemory()
306 if (art::Runtime::Current()->IsExplicitGcDisabled()) { in JVM_GC()
310 art::Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references */ false); in JVM_GC()
315 art::Runtime::Current()->CallExitHook(status); in JVM_Exit()
332 art::JavaVMExt* vm = art::Runtime::Current()->GetJavaVM(); in JVM_NativeLoad()
349 art::Thread::CreateNativeThread(env, jthread, stack_size, daemon == JNI_TRUE); in JVM_StartThread()
[all …]
/art/build/
DAndroid.cpplint.mk17 include art/build/Android.common_build.mk
40 .PHONY: cpplint-art
41 cpplint-art: cpplint-art-phony
44 .PHONY: cpplint-art-all
45 cpplint-art-all:
53 define declare-art-cpplint-target
57 $$(art_cpplint_touch): $$(art_cpplint_file) $(ART_CPPLINT) $(ART_CPPLINT_CFG) art/build/Android.cpp…
65 $(foreach file, $(ART_CPPLINT_SRC), $(eval $(call declare-art-cpplint-target,$(file))))
69 LOCAL_MODULE := cpplint-art-phony
/art/tools/golem/
Denv43 ALL_TARGETS=(art-interpreter art-opt art-jit art-jit-cc art-opt-cc art-opt-debuggable art-vdex)
/art/test/1976-hello-structural-static-methods/
Dexpected.txt7 Reflectively invoking public static void art.Transform1976.sayEverything()
9 Reflectively invoking public static void art.Transform1976.sayHi()
12 Running method public static void art.Transform1976.sayEverything() using JNI.
14 Running method public static void art.Transform1976.sayHi() using JNI.
17 Invoking MethodHandle()void (public static void art.Transform1976.sayEverything())
19 Invoking MethodHandle()void (public static void art.Transform1976.sayHi())
30 Reflectively invoking public static void art.Transform1976.sayEverything() on old j.l.r.Method
33 Reflectively invoking public static void art.Transform1976.sayHi() on old j.l.r.Method
36 Reflectively invoking public static void art.Transform1976.sayBye() on new j.l.r.Method
38 Reflectively invoking public static void art.Transform1976.sayEverything() on new j.l.r.Method
[all …]

12345678910>>...119