Home
last modified time | relevance | path

Searched refs:art (Results 1 – 25 of 2044) sorted by relevance

12345678910>>...82

/art/runtime/arch/mips/
Dcallee_save_frame_mips.h28 namespace art {
32 (1u << art::mips::RA);
34 (1 << art::mips::S2) | (1 << art::mips::S3) | (1 << art::mips::S4) | (1 << art::mips::S5) |
35 (1 << art::mips::S6) | (1 << art::mips::S7) | (1 << art::mips::GP) | (1 << art::mips::FP);
37 (1 << art::mips::A1) | (1 << art::mips::A2) | (1 << art::mips::A3) | (1 << art::mips::T0) |
38 (1 << art::mips::T1);
56 (1 << art::mips::ZERO) | (1 << art::mips::S0) | (1 << art::mips::S1);
58 (1 << art::mips::AT) | (1 << art::mips::V0) | (1 << art::mips::V1) |
59 (1 << art::mips::A0) | (1 << art::mips::A1) | (1 << art::mips::A2) | (1 << art::mips::A3) |
60 (1 << art::mips::T0) | (1 << art::mips::T1) | (1 << art::mips::T2) | (1 << art::mips::T3) |
[all …]
/art/runtime/arch/arm64/
Dcallee_save_frame_arm64.h28 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/
Dtracefast.cc41 class Tracer final : public art::instrumentation::InstrumentationListener {
45 void MethodEntered(art::Thread* thread ATTRIBUTE_UNUSED, in MethodEntered()
46 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in MethodEntered()
47 art::ArtMethod* method ATTRIBUTE_UNUSED, in MethodEntered()
49 override REQUIRES_SHARED(art::Locks::mutator_lock_) { } in MethodEntered()
51 void MethodExited(art::Thread* thread ATTRIBUTE_UNUSED, in MethodExited()
52 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in MethodExited()
53 art::ArtMethod* method ATTRIBUTE_UNUSED, in MethodExited()
55 art::Handle<art::mirror::Object> return_value ATTRIBUTE_UNUSED) in MethodExited()
56 override REQUIRES_SHARED(art::Locks::mutator_lock_) { } in MethodExited()
[all …]
/art/runtime/arch/mips64/
Dcallee_save_frame_mips64.h28 namespace art {
32 (1 << art::mips64::RA);
34 (1 << art::mips64::S2) | (1 << art::mips64::S3) | (1 << art::mips64::S4) |
35 (1 << art::mips64::S5) | (1 << art::mips64::S6) | (1 << art::mips64::S7) |
36 (1 << art::mips64::GP) | (1 << art::mips64::S8);
38 (1 << art::mips64::A1) | (1 << art::mips64::A2) | (1 << art::mips64::A3) |
39 (1 << art::mips64::A4) | (1 << art::mips64::A5) | (1 << art::mips64::A6) |
40 (1 << art::mips64::A7);
42 (1 << art::mips64::S0) | (1 << art::mips64::S1);
44 (1 << art::mips64::AT) | (1 << art::mips64::V0) | (1 << art::mips64::V1) |
[all …]
/art/openjdkjvmti/
Dti_class_loader.h44 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 …]
Dti_class_loader.cc63 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 …]
Ddeopt_manager.h44 namespace art {
56 struct JvmtiMethodInspectionCallback : public art::MethodInspectionCallback {
60 bool IsMethodBeingInspected(art::ArtMethod* method)
61 override REQUIRES_SHARED(art::Locks::mutator_lock_);
63 bool IsMethodSafeToJit(art::ArtMethod* method)
64 override REQUIRES_SHARED(art::Locks::mutator_lock_);
66 bool MethodNeedsDebugVersion(art::ArtMethod* method)
67 override REQUIRES_SHARED(art::Locks::mutator_lock_);
82 void DumpDeoptInfo(art::Thread* self, std::ostream& stream);
85 !art::Roles::uninterruptible_);
[all …]
Dti_redefine.h48 namespace art {
69 art::Runtime* runtime,
70 art::Thread* self,
79 art::Runtime* runtime,
80 art::Thread* self,
87 static art::MemMap MoveDataToMemMap(const std::string& original_location,
88 art::ArrayRef<const unsigned char> data,
93 REQUIRES(!art::Locks::mutator_lock_);
100 const art::DexFile* redefined_dex_file,
102 art::ArrayRef<const unsigned char> orig_dex_file)
[all …]
Djvmti_weak_table.h54 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 …]
Dti_thread.cc67 art::ArtField* ThreadUtil::context_class_loader_ = nullptr;
69 ScopedNoUserCodeSuspension::ScopedNoUserCodeSuspension(art::Thread* self) : self_(self) { in ScopedNoUserCodeSuspension()
70 DCHECK_EQ(self, art::Thread::Current()); in ScopedNoUserCodeSuspension()
74 art::Locks::user_code_suspension_lock_->AssertNotHeld(self_); in ScopedNoUserCodeSuspension()
77 art::Locks::user_code_suspension_lock_->ExclusiveLock(self_); in ScopedNoUserCodeSuspension()
79 art::Locks::user_code_suspension_lock_->ExclusiveUnlock(self_); in ScopedNoUserCodeSuspension()
83 art::Locks::user_code_suspension_lock_->AssertHeld(self_); in ScopedNoUserCodeSuspension()
90 art::Locks::user_code_suspension_lock_->ExclusiveUnlock(self_); in ~ScopedNoUserCodeSuspension()
93 struct ThreadCallback : public art::ThreadLifecycleCallback {
94 jthread GetThreadObject(art::Thread* self) REQUIRES_SHARED(art::Locks::mutator_lock_) { in GetThreadObject()
[all …]
Ddeopt_manager.cc69 bool JvmtiMethodInspectionCallback::IsMethodBeingInspected(art::ArtMethod* method) { in IsMethodBeingInspected()
74 return !art::Runtime::Current()->IsJavaDebuggable() || in IsMethodBeingInspected()
79 bool JvmtiMethodInspectionCallback::IsMethodSafeToJit(art::ArtMethod* method) { in IsMethodSafeToJit()
84 art::ArtMethod* method ATTRIBUTE_UNUSED) { in MethodNeedsDebugVersion()
90 static_cast<art::LockLevel>( in DeoptManager()
91 art::LockLevel::kClassLinkerClassesLock + 1)), in DeoptManager()
97 static_cast<art::LockLevel>(art::LockLevel::kAbortLock + 1)), in DeoptManager()
102 art::ScopedThreadStateChange stsc(art::Thread::Current(), in Setup()
103 art::ThreadState::kWaitingForDebuggerToAttach); in Setup()
104 art::ScopedSuspendAll ssa("Add method Inspection Callback"); in Setup()
[all …]
Dti_class.cc88 static std::unique_ptr<const art::DexFile> MakeSingleDexFile(art::Thread* self, in MakeSingleDexFile()
93 REQUIRES_SHARED(art::Locks::mutator_lock_) { in MakeSingleDexFile()
96 art::ArrayRef<const unsigned char> final_data(final_dex_data, final_len); in MakeSingleDexFile()
97 art::MemMap map = Redefiner::MoveDataToMemMap(orig_location, final_data, &error_msg); in MakeSingleDexFile()
106 if (map.Size() < sizeof(art::DexFile::Header)) { in MakeSingleDexFile()
108 art::ThrowClassFormatError(nullptr, in MakeSingleDexFile()
113 uint32_t checksum = reinterpret_cast<const art::DexFile::Header*>(map.Begin())->checksum_; in MakeSingleDexFile()
115 const art::ArtDexFileLoader dex_file_loader; in MakeSingleDexFile()
116 std::unique_ptr<const art::DexFile> dex_file(dex_file_loader.Open(map_name, in MakeSingleDexFile()
124 art::ThrowClassFormatError(nullptr, in MakeSingleDexFile()
[all …]
Dti_redefine.cc97 art::ArtMethod* FindObsoleteVersion(art::ArtMethod* original) const in FindObsoleteVersion()
98 REQUIRES(art::Locks::mutator_lock_, art::Roles::uninterruptible_) { in FindObsoleteVersion()
101 art::ArtMethod* res = obsolete_methods_->GetElementPtrSize<art::ArtMethod*>( in FindObsoleteVersion()
102 method_pair->second, art::kRuntimePointerSize); in FindObsoleteVersion()
110 void RecordObsolete(art::ArtMethod* original, art::ArtMethod* obsolete) in RecordObsolete()
111 REQUIRES(art::Locks::mutator_lock_, art::Roles::uninterruptible_) { in RecordObsolete()
117 obsolete_methods_->GetElementPtrSize<art::ArtMethod*>(slot, art::kRuntimePointerSize)); in RecordObsolete()
119 obsolete_methods_->SetElementPtrSize(slot, obsolete, art::kRuntimePointerSize); in RecordObsolete()
124 ObsoleteMap(art::ObjPtr<art::mirror::PointerArray> obsolete_methods, in ObsoleteMap()
125 art::ObjPtr<art::mirror::ObjectArray<art::mirror::DexCache>> obsolete_dex_caches, in ObsoleteMap()
[all …]
Dti_threadgroup.cc63 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::ObjPtr<art::mirror::Object> obj = soa.Decode<art::mirror::Object>(group); in GetThreadGroupInfo()
106 art::ArtField* name_field = in GetThreadGroupInfo()
107 art::jni::DecodeArtField(art::WellKnownClasses::java_lang_ThreadGroup_name); in GetThreadGroupInfo()
109 art::ObjPtr<art::mirror::String> name_obj = in GetThreadGroupInfo()
110 art::ObjPtr<art::mirror::String>::DownCast(name_field->GetObject(obj)); in GetThreadGroupInfo()
129 art::ArtField* parent_field = in GetThreadGroupInfo()
[all …]
Dti_method.cc69 struct TiMethodCallback : public art::MethodCallback {
70 void RegisterNativeMethod(art::ArtMethod* method, in RegisterNativeMethod()
73 override REQUIRES_SHARED(art::Locks::mutator_lock_) { in RegisterNativeMethod()
75 art::Thread* thread = art::Thread::Current(); in RegisterNativeMethod()
76 art::JNIEnvExt* jnienv = thread->GetJniEnv(); in RegisterNativeMethod()
80 art::ScopedThreadSuspension sts(thread, art::ThreadState::kNative); in RegisterNativeMethod()
85 art::jni::EncodeArtMethod(method), in RegisterNativeMethod()
98 art::ScopedThreadStateChange stsc(art::Thread::Current(), in Register()
99 art::ThreadState::kWaitingForDebuggerToAttach); in Register()
100 art::ScopedSuspendAll ssa("Add method callback"); in Register()
[all …]
Dti_monitor.cc62 static bool Destroy(art::Thread* self, JvmtiMonitor* monitor) NO_THREAD_SAFETY_ANALYSIS { in Destroy()
64 art::Thread* owner_thread = monitor->owner_.load(std::memory_order_relaxed); in Destroy()
79 void MonitorEnter(art::Thread* self, bool suspend) NO_THREAD_SAFETY_ANALYSIS { in MonitorEnter()
124 bool MonitorExit(art::Thread* self) NO_THREAD_SAFETY_ANALYSIS { in MonitorExit()
138 bool Wait(art::Thread* self) { in Wait()
145 bool Wait(art::Thread* self, uint64_t timeout_in_ms) { in Wait()
152 bool Notify(art::Thread* self) { in Notify()
156 bool NotifyAll(art::Thread* self) { in NotifyAll()
161 bool IsOwner(art::Thread* self) const { in IsOwner()
165 art::Thread* owner_thread = owner_.load(std::memory_order_relaxed); in IsOwner()
[all …]
/art/test/1929-exception-catch-exception/
Dexpected.txt1 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/
Dexpected.txt1 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/runtime/arch/arm/
Dcallee_save_frame_arm.h28 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/runtime/arch/x86_64/
Dcallee_save_frame_x86_64.h28 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/1922-owned-monitors-info/
Dexpected.txt2 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/test/989-method-trace-throw/
Dexpected.txt1 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/libartbase/base/
Dmembarrier_test.cc27 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 …]
/art/tools/cpp-define-generator/
Dthread.def22 art::Thread::CardTableOffset<art::kRuntimePointerSize>().Int32Value())
24 art::kCheckpointRequest)
26 art::Thread::MterpCurrentIBaseOffset<art::kRuntimePointerSize>().Int32Value())
28 art::kEmptyCheckpointRequest)
30 art::Thread::ExceptionOffset<art::kRuntimePointerSize>().Int32Value())
32 art::Thread::ThreadFlagsOffset<art::kRuntimePointerSize>().Int32Value())
34 art::Thread::ThinLockIdOffset<art::kRuntimePointerSize>().Int32Value())
36 art::Thread::InterpreterCacheOffset<art::kRuntimePointerSize>().Int32Value())
38 art::Thread::InterpreterCacheSizeLog2())
40 art::Thread::IsGcMarkingOffset<art::kRuntimePointerSize>().Int32Value())
[all …]
/art/test/1927-exception-event/
Dexpected.txt1 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 …]

12345678910>>...82