/art/ |
D | TEST_MAPPING | 5 "name": "ComposHostTestCases[com.google.android.art.apex]" 8 "name": "art-run-test-001-HelloWorld[com.google.android.art.apex]" 11 "name": "art-run-test-001-Main[com.google.android.art.apex]" 14 "name": "art-run-test-002-sleep[com.google.android.art.apex]" 17 "name": "art-run-test-004-InterfaceTest[com.google.android.art.apex]" 20 "name": "art-run-test-004-NativeAllocations[com.google.android.art.apex]" 23 "name": "art-run-test-004-checker-UnsafeTest18[com.google.android.art.apex]" 26 "name": "art-run-test-006-args[com.google.android.art.apex]" 29 "name": "art-run-test-007-count10[com.google.android.art.apex]" 32 "name": "art-run-test-009-instanceof[com.google.android.art.apex]" [all …]
|
/art/runtime/arch/arm64/ |
D | callee_save_frame_arm64.h | 28 namespace art { 36 (1 << art::arm64::LR); 39 (1 << art::arm64::X20) | (1 << art::arm64::X21) | (1 << art::arm64::X22) | 40 (1 << art::arm64::X23) | (1 << art::arm64::X24) | (1 << art::arm64::X25) | 41 (1 << art::arm64::X26) | (1 << art::arm64::X27) | (1 << art::arm64::X28) | 42 (1 << art::arm64::X29); 45 (1 << art::arm64::X1) | (1 << art::arm64::X2) | (1 << art::arm64::X3) | 46 (1 << art::arm64::X4) | (1 << art::arm64::X5) | (1 << art::arm64::X6) | 47 (1 << art::arm64::X7); 49 (1 << art::arm64::X19); [all …]
|
/art/tools/tracefast-plugin/ |
D | tracefast.cc | 42 class Tracer final : public art::instrumentation::InstrumentationListener { 46 void MethodEntered(art::Thread* thread ATTRIBUTE_UNUSED, in MethodEntered() 47 art::ArtMethod* method ATTRIBUTE_UNUSED) override in MethodEntered() 48 REQUIRES_SHARED(art::Locks::mutator_lock_) {} in MethodEntered() 50 void MethodExited(art::Thread* thread ATTRIBUTE_UNUSED, in MethodExited() 51 art::ArtMethod* method ATTRIBUTE_UNUSED, in MethodExited() 52 art::instrumentation::OptionalFrame frame ATTRIBUTE_UNUSED, in MethodExited() 53 art::MutableHandle<art::mirror::Object>& return_value ATTRIBUTE_UNUSED) in MethodExited() 54 override REQUIRES_SHARED(art::Locks::mutator_lock_) { } in MethodExited() 56 void MethodExited(art::Thread* thread ATTRIBUTE_UNUSED, in MethodExited() [all …]
|
/art/openjdkjvmti/ |
D | ti_class_loader.cc | 63 bool ClassLoaderHelper::AddToClassLoader(art::Thread* self, in AddToClassLoader() 64 art::Handle<art::mirror::ClassLoader> loader, in AddToClassLoader() 65 const art::DexFile* dex_file) { in AddToClassLoader() 66 art::ScopedObjectAccessUnchecked soa(self); in AddToClassLoader() 67 art::StackHandleScope<3> hs(self); in AddToClassLoader() 68 if (art::ClassLinker::IsBootClassLoader(soa, loader.Get())) { in AddToClassLoader() 69 art::Runtime::Current()->GetClassLinker()->AppendToBootClassPath(self, dex_file); in AddToClassLoader() 72 art::Handle<art::mirror::Object> java_dex_file_obj( in AddToClassLoader() 77 art::Handle<art::mirror::LongArray> old_cookie(hs.NewHandle(GetDexFileCookie(java_dex_file_obj))); in AddToClassLoader() 78 art::Handle<art::mirror::LongArray> cookie(hs.NewHandle( in AddToClassLoader() [all …]
|
D | ti_class_loader.h | 44 namespace art { 60 static bool AddToClassLoader(art::Thread* self, 61 art::Handle<art::mirror::ClassLoader> loader, 62 const art::DexFile* dex_file) 63 REQUIRES_SHARED(art::Locks::mutator_lock_); 68 static art::ObjPtr<art::mirror::Object> FindSourceDexFileObject( 69 art::Thread* self, art::Handle<art::mirror::ClassLoader> loader) 70 REQUIRES_SHARED(art::Locks::mutator_lock_); 75 static inline void VisitDexFileObjects(art::Thread* self, 76 art::Handle<art::mirror::ClassLoader> loader, [all …]
|
D | deopt_manager.h | 44 namespace art { 56 struct JvmtiMethodInspectionCallback : public art::MethodInspectionCallback { 60 bool IsMethodBeingInspected(art::ArtMethod* method) 61 override REQUIRES_SHARED(art::Locks::mutator_lock_); 76 void DumpDeoptInfo(art::Thread* self, std::ostream& stream); 79 !art::Roles::uninterruptible_); 81 !art::Roles::uninterruptible_); 82 bool MethodHasBreakpoints(art::ArtMethod* method) 85 void RemoveMethodBreakpoint(art::ArtMethod* method) 86 REQUIRES(!deoptimization_status_lock_, !art::Roles::uninterruptible_) [all …]
|
D | ti_thread.cc | 68 art::ArtField* ThreadUtil::context_class_loader_ = nullptr; 70 ScopedNoUserCodeSuspension::ScopedNoUserCodeSuspension(art::Thread* self) : self_(self) { in ScopedNoUserCodeSuspension() 71 DCHECK_EQ(self, art::Thread::Current()); in ScopedNoUserCodeSuspension() 75 art::Locks::user_code_suspension_lock_->AssertNotHeld(self_); in ScopedNoUserCodeSuspension() 78 art::Locks::user_code_suspension_lock_->ExclusiveLock(self_); in ScopedNoUserCodeSuspension() 80 art::Locks::user_code_suspension_lock_->ExclusiveUnlock(self_); in ScopedNoUserCodeSuspension() 84 art::Locks::user_code_suspension_lock_->AssertHeld(self_); in ScopedNoUserCodeSuspension() 91 art::Locks::user_code_suspension_lock_->ExclusiveUnlock(self_); in ~ScopedNoUserCodeSuspension() 94 struct ThreadCallback : public art::ThreadLifecycleCallback { 95 jthread GetThreadObject(art::Thread* self) REQUIRES_SHARED(art::Locks::mutator_lock_) { in GetThreadObject() [all …]
|
D | jvmti_weak_table.h | 54 class JvmtiWeakTable : public art::gc::SystemWeakHolder { 57 : art::gc::SystemWeakHolder(art::kTaggingLockLevel), in JvmtiWeakTable() 63 ALWAYS_INLINE bool Remove(art::ObjPtr<art::mirror::Object> obj, /* out */ T* tag) 64 REQUIRES_SHARED(art::Locks::mutator_lock_) 66 ALWAYS_INLINE bool RemoveLocked(art::ObjPtr<art::mirror::Object> obj, /* out */ T* tag) 67 REQUIRES_SHARED(art::Locks::mutator_lock_) 72 ALWAYS_INLINE virtual bool Set(art::ObjPtr<art::mirror::Object> obj, T tag) 73 REQUIRES_SHARED(art::Locks::mutator_lock_) 75 ALWAYS_INLINE virtual bool SetLocked(art::ObjPtr<art::mirror::Object> obj, T tag) 76 REQUIRES_SHARED(art::Locks::mutator_lock_) [all …]
|
D | ti_redefine.cc | 140 constexpr bool kCheckAllMethodsSeenOnce = art::kIsDebugBuild; 149 art::ArtMethod* FindObsoleteVersion(art::ArtMethod* original) const in FindObsoleteVersion() 150 REQUIRES(art::Locks::mutator_lock_, art::Roles::uninterruptible_) { in FindObsoleteVersion() 153 art::ArtMethod* res = obsolete_methods_->GetElementPtrSize<art::ArtMethod*>( in FindObsoleteVersion() 154 method_pair->second, art::kRuntimePointerSize); in FindObsoleteVersion() 162 void RecordObsolete(art::ArtMethod* original, art::ArtMethod* obsolete) in RecordObsolete() 163 REQUIRES(art::Locks::mutator_lock_, art::Roles::uninterruptible_) { in RecordObsolete() 169 obsolete_methods_->GetElementPtrSize<art::ArtMethod*>(slot, art::kRuntimePointerSize)); in RecordObsolete() 171 obsolete_methods_->SetElementPtrSize(slot, obsolete, art::kRuntimePointerSize); in RecordObsolete() 176 ObsoleteMap(art::ObjPtr<art::mirror::PointerArray> obsolete_methods, in ObsoleteMap() [all …]
|
D | ti_threadgroup.cc | 63 art::Runtime* runtime = art::Runtime::Current(); in GetTopThreadGroups() 83 reinterpret_cast<JNIEnv*>(art::Thread::Current()->GetJniEnv())->NewLocalRef(sys_thread_group); in GetTopThreadGroups() 97 art::ScopedObjectAccess soa(art::Thread::Current()); in GetThreadGroupInfo() 98 if (soa.Env()->IsInstanceOf(group, art::WellKnownClasses::java_lang_ThreadGroup) == JNI_FALSE) { in GetThreadGroupInfo() 102 art::StackHandleScope<2> hs(soa.Self()); in GetThreadGroupInfo() 103 art::Handle<art::mirror::Class> tg_class( in GetThreadGroupInfo() 104 hs.NewHandle(soa.Decode<art::mirror::Class>(art::WellKnownClasses::java_lang_ThreadGroup))); in GetThreadGroupInfo() 105 art::Handle<art::mirror::Object> obj(hs.NewHandle(soa.Decode<art::mirror::Object>(group))); in GetThreadGroupInfo() 109 art::ArtField* name_field = in GetThreadGroupInfo() 110 art::jni::DecodeArtField(art::WellKnownClasses::java_lang_ThreadGroup_name); in GetThreadGroupInfo() [all …]
|
D | ti_redefine.h | 54 namespace art { 80 art::Runtime* runtime, 81 art::Thread* self, 101 static art::MemMap MoveDataToMemMap(const std::string& original_location, 102 art::ArrayRef<const unsigned char> data, 108 REQUIRES(!art::Locks::mutator_lock_); 120 const art::DexFile* redefined_dex_file, 122 art::ArrayRef<const unsigned char> orig_dex_file) 123 REQUIRES_SHARED(art::Locks::mutator_lock_); 155 art::ObjPtr<art::mirror::Class> GetMirrorClass() REQUIRES_SHARED(art::Locks::mutator_lock_); [all …]
|
D | deopt_manager.cc | 69 bool JvmtiMethodInspectionCallback::IsMethodBeingInspected(art::ArtMethod* method) { in IsMethodBeingInspected() 78 static_cast<art::LockLevel>( in DeoptManager() 79 art::LockLevel::kClassLinkerClassesLock + 1)), in DeoptManager() 85 static_cast<art::LockLevel>(art::LockLevel::kAbortLock + 1)), in DeoptManager() 90 art::ScopedThreadStateChange stsc(art::Thread::Current(), in Setup() 91 art::ThreadState::kWaitingForDebuggerToAttach); in Setup() 92 art::ScopedSuspendAll ssa("Add method Inspection Callback"); in Setup() 93 art::RuntimeCallbacks* callbacks = art::Runtime::Current()->GetRuntimeCallbacks(); in Setup() 98 art::ScopedThreadStateChange stsc(art::Thread::Current(), in Shutdown() 99 art::ThreadState::kWaitingForDebuggerToAttach); in Shutdown() [all …]
|
D | ti_class.cc | 89 static std::unique_ptr<const art::DexFile> MakeSingleDexFile(art::Thread* self, in MakeSingleDexFile() 94 REQUIRES_SHARED(art::Locks::mutator_lock_) { in MakeSingleDexFile() 97 art::ArrayRef<const unsigned char> final_data(final_dex_data, final_len); in MakeSingleDexFile() 98 art::MemMap map = Redefiner::MoveDataToMemMap(orig_location, final_data, &error_msg); in MakeSingleDexFile() 107 if (map.Size() < sizeof(art::DexFile::Header)) { in MakeSingleDexFile() 109 art::ThrowClassFormatError(nullptr, in MakeSingleDexFile() 114 uint32_t checksum = reinterpret_cast<const art::DexFile::Header*>(map.Begin())->checksum_; in MakeSingleDexFile() 116 const art::ArtDexFileLoader dex_file_loader; in MakeSingleDexFile() 117 std::unique_ptr<const art::DexFile> dex_file(dex_file_loader.Open(map_name, in MakeSingleDexFile() 125 art::ThrowClassFormatError(nullptr, in MakeSingleDexFile() [all …]
|
D | alloc_manager.h | 43 namespace art { 57 class JvmtiAllocationListener : public art::gc::AllocationListener { 60 void ObjectAllocated(art::Thread* self, 61 art::ObjPtr<art::mirror::Object>* obj, 62 size_t cnt) override REQUIRES_SHARED(art::Locks::mutator_lock_); 63 bool HasPreAlloc() const override REQUIRES_SHARED(art::Locks::mutator_lock_); 64 void PreObjectAllocated(art::Thread* self, 65 art::MutableHandle<art::mirror::Class> type, 66 size_t* byte_count) override REQUIRES_SHARED(art::Locks::mutator_lock_); 77 virtual void ObjectAllocated(art::Thread* self, [all …]
|
/art/test/1929-exception-catch-exception/ |
D | expected-stdout.txt | 1 Test "art.Test1929$DoThrowClass": Running breakpoint with handler "art.Test1929$DoNothingHandler" 2 main: public static void art.Test1929.run() throws java.lang.Exception @ line = 298 caught class ar… 4 …private static native art.StackTrace$StackFrameData[] art.StackTrace.nativeGetStackTrace(java.lang… 5 …public static art.StackTrace$StackFrameData[] art.StackTrace.GetStackTrace(java.lang.Thread) @ lin… 6 private static void art.Test1929.PrintStack() @ line = 52 7 …public static void art.Test1929.ExceptionCatchEvent(java.lang.Thread,java.lang.reflect.Executable,… 8 public static void art.Test1929.run() throws java.lang.Exception @ line = 298 9 Test "art.Test1929$DoThrowClass": Caught error art.Test1929$TestException:"doThrow" with handler "a… 10 Test "art.Test1929$DoThrowClass": Finished running with handler "art.Test1929$DoNothingHandler" 11 Test "art.Test1929$DoThrowCatchBaseTestException": Running breakpoint with handler "art.Test1929$Do… [all …]
|
/art/test/991-field-trace-2/ |
D | expected-stdout.txt | 1 Test is class art.Test991$DoNothingFieldTracer & class art.Test991$JavaReadWrite 3 FieldTracer: class art.Test991$DoNothingFieldTracer 4 …ublic int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in method pub… 6 FieldTracer: class art.Test991$DoNothingFieldTracer 7 …ublic int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in method pub… 9 Test is class art.Test991$ThrowReadFieldTracer & class art.Test991$JavaReadWrite 11 FieldTracer: class art.Test991$ThrowReadFieldTracer 12 …ublic int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in method pub… 13 Caught error. art.Test991$TestError: Throwing error during access 15 Test is class art.Test991$ThrowWriteFieldTracer & class art.Test991$JavaReadWrite [all …]
|
/art/test/1928-exception-event-exception/ |
D | expected-stdout.txt | 1 Test "art.Test1928$DoThrowClass": Running with handler "art.Test1928$DoNothingHandler" 2 main: public static void art.Test1928.doThrow() @ line = 110 throws class art.Test1928$TestExceptio… 4 …private static native art.StackTrace$StackFrameData[] art.StackTrace.nativeGetStackTrace(java.lang… 5 …public static art.StackTrace$StackFrameData[] art.StackTrace.GetStackTrace(java.lang.Thread) @ lin… 6 private static void art.Test1928.PrintStack() @ line = 35 7 …public static void art.Test1928.ExceptionEvent(java.lang.Thread,java.lang.reflect.Executable,long,… 8 public static void art.Test1928.doThrow() @ line = 110 9 public void art.Test1928$DoThrowClass.run() @ line = 114 10 public static void art.Test1928.run() throws java.lang.Exception @ line = 196 11 Will be caught by: public static void art.Test1928.run() throws java.lang.Exception @ line = 199 [all …]
|
/art/runtime/arch/arm/ |
D | callee_save_frame_arm.h | 28 namespace art { 32 (1 << art::arm::LR); 34 (1 << art::arm::R5) | (1 << art::arm::R6) | (1 << art::arm::R7) | (1 << art::arm::R8) | 35 (1 << art::arm::R10) | (1 << art::arm::R11); 37 (1 << art::arm::R1) | (1 << art::arm::R2) | (1 << art::arm::R3); 39 (1 << art::arm::R4) | (1 << art::arm::R9); 41 (1 << art::arm::R0) | (1 << art::arm::R1) | (1 << art::arm::R2) | (1 << art::arm::R3) | 42 (1 << art::arm::R4) | (1 << art::arm::R9) | (1 << art::arm::R12); 47 (1 << art::arm::S0) | (1 << art::arm::S1) | (1 << art::arm::S2) | (1 << art::arm::S3) | 48 (1 << art::arm::S4) | (1 << art::arm::S5) | (1 << art::arm::S6) | (1 << art::arm::S7) | [all …]
|
/art/test/1922-owned-monitors-info/ |
D | expected-stdout.txt | 2 Running: [class art.Test1922$CallLockOther, class art.Test1922$CallLockOther, class art.Test1922$Ca… 4 Running: [class art.Test1922$CallLockOther, class art.Test1922$CallLockOther, class art.Test1922$Ca… 6 Running: [class art.Test1922$CallLockOther, class art.Test1922$CallLockOther, class art.Test1922$Ca… 8 Running: [class art.Test1922$CallLockOther, class art.Test1922$CallLockOther, class art.Test1922$Ca… 10 Running: [class art.Test1922$CallLockOther, class art.Test1922$CallLockOther, class art.Test1922$Ca… 11 Owned monitors: [NamedLock("Lock 1"), class art.Test1922$Target] 12 Running: [class art.Test1922$CallLockOther, class art.Test1922$CallLockOther, class art.Test1922$Ca… 14 Running: [class art.Test1922$CallLockOther, class art.Test1922$CallLockExtra, class art.Test1922$Ca… 16 Running: [class art.Test1922$CallLockOther, class art.Test1922$CallLockExtra, class art.Test1922$Ca… 18 Running: [class art.Test1922$CallLockOther, class art.Test1922$CallLockExtra, class art.Test1922$Ca… [all …]
|
/art/tools/cpp-define-generator/ |
D | thread.def | 23 art::Thread::CardTableOffset<art::kRuntimePointerSize>().Int32Value()) 25 art::Thread::ExceptionOffset<art::kRuntimePointerSize>().Int32Value()) 27 art::Thread::ThreadFlagsOffset<art::kRuntimePointerSize>().Int32Value()) 29 art::Thread::ThinLockIdOffset<art::kRuntimePointerSize>().Int32Value()) 31 art::Thread::InterpreterCacheOffset<art::kRuntimePointerSize>().Int32Value()) 33 art::Thread::InterpreterCacheSizeLog2()) 35 (sizeof(art::InterpreterCache::Entry) * (art::InterpreterCache::kSize - 1))) 37 (art::WhichPowerOf2(sizeof(art::InterpreterCache::Entry)) - 2)) 39 art::Thread::IsGcMarkingOffset<art::kRuntimePointerSize>().Int32Value()) 41 art::Thread::ThreadLocalAllocStackEndOffset<art::kRuntimePointerSize>().Int32Value()) [all …]
|
/art/test/989-method-trace-throw/ |
D | expected-stdout.txt | 1 Normal: Entering public static void art.Test989.doNothing() 2 Normal: Leaving public static void art.Test989.doNothing() returned null 3 Received no exception as expected for test[class art.Test989$NormalTracer, class art.Test989$doNoth… 4 Normal: Entering public static native void art.Test989.doNothingNative() 5 Normal: Leaving public static native void art.Test989.doNothingNative() returned null 6 Received no exception as expected for test[class art.Test989$NormalTracer, class art.Test989$doNoth… 7 Normal: Entering public static void art.Test989.throwA() 8 Normal: Leaving public static void art.Test989.throwA() returned <exception> 9 Received expected error for test[class art.Test989$NormalTracer, class art.Test989$throwAClass] - a… 10 Normal: Entering public static native void art.Test989.throwANative() [all …]
|
/art/runtime/arch/x86_64/ |
D | callee_save_frame_x86_64.h | 28 namespace art { 32 (1 << art::x86_64::kNumberOfCpuRegisters); // Fake return address callee save. 34 (1 << art::x86_64::RBX) | (1 << art::x86_64::RBP) | (1 << art::x86_64::R12) | 35 (1 << art::x86_64::R13) | (1 << art::x86_64::R14) | (1 << art::x86_64::R15); 37 (1 << art::x86_64::RSI) | (1 << art::x86_64::RDX) | (1 << art::x86_64::RCX) | 38 (1 << art::x86_64::R8) | (1 << art::x86_64::R9); 40 (1 << art::x86_64::RAX) | (1 << art::x86_64::RCX) | (1 << art::x86_64::RDX) | 41 (1 << art::x86_64::RSI) | (1 << art::x86_64::RDI) | (1 << art::x86_64::R8) | 42 (1 << art::x86_64::R9) | (1 << art::x86_64::R10) | (1 << art::x86_64::R11); 45 (1 << art::x86_64::XMM0) | (1 << art::x86_64::XMM1) | (1 << art::x86_64::XMM2) | [all …]
|
/art/test/ |
D | Android.run-test.bp | 5 name: "art-run-test-host-data-shard00", 6 out: ["art-run-test-host-data-shard00.zip"], 8 defaults: ["art-run-test-data-defaults"], 10 "--bootclasspath $(location :art-run-test-bootclasspath)", 14 name: "art-run-test-host-data-shard01", 15 out: ["art-run-test-host-data-shard01.zip"], 17 defaults: ["art-run-test-data-defaults"], 19 "--bootclasspath $(location :art-run-test-bootclasspath)", 23 name: "art-run-test-host-data-shard02", 24 out: ["art-run-test-host-data-shard02.zip"], [all …]
|
/art/test/1927-exception-event/ |
D | expected-stdout.txt | 1 class art.Test1927$TestException 3 main: public static void art.Test1927.test_J() @ line = 110 throws class art.Test1927$TestException… 5 …private static native art.StackTrace$StackFrameData[] art.StackTrace.nativeGetStackTrace(java.lang… 6 …public static art.StackTrace$StackFrameData[] art.StackTrace.GetStackTrace(java.lang.Thread) @ lin… 7 private static void art.Test1927.PrintStack() @ line = 28 8 …public static void art.Test1927.ExceptionEvent(java.lang.Thread,java.lang.reflect.Executable,long,… 9 public static void art.Test1927.test_J() @ line = 110 10 public static void art.Test1927.run() throws java.lang.Exception @ line = 239 11 Will be caught by: public static void art.Test1927.test_J() @ line = 111 12 main: public static void art.Test1927.test_J() @ line = 111 caught class art.Test1927$TestException… [all …]
|
/art/libartbase/base/ |
D | membarrier_test.cc | 27 bool HasMembarrier(art::MembarrierCommand cmd) { in HasMembarrier() 29 int supported_cmds = art::membarrier(art::MembarrierCommand::kQuery); in HasMembarrier() 35 int supported = art::membarrier(art::MembarrierCommand::kQuery); in TEST() 44 if (!HasMembarrier(art::MembarrierCommand::kGlobal)) { in TEST() 48 ASSERT_EQ(0, art::membarrier(art::MembarrierCommand::kGlobal)); in TEST() 51 static const char* MembarrierCommandToName(art::MembarrierCommand cmd) { in MembarrierCommandToName() 54 CASE_VALUE(art::MembarrierCommand::kQuery); in MembarrierCommandToName() 55 CASE_VALUE(art::MembarrierCommand::kGlobal); in MembarrierCommandToName() 56 CASE_VALUE(art::MembarrierCommand::kGlobalExpedited); in MembarrierCommandToName() 57 CASE_VALUE(art::MembarrierCommand::kRegisterGlobalExpedited); in MembarrierCommandToName() [all …]
|