Home
last modified time | relevance | path

Searched refs:StackTraceElement (Results 1 – 25 of 26) sorted by relevance

12

/art/runtime/mirror/
Dstack_trace_element.cc30 ObjPtr<StackTraceElement> StackTraceElement::Alloc(Thread* self, in Alloc()
35 ObjPtr<StackTraceElement> trace = in Alloc()
36 ObjPtr<StackTraceElement>::DownCast(GetClassRoot<StackTraceElement>()->AllocObject(self)); in Alloc()
48 void StackTraceElement::Init(ObjPtr<String> declaring_class, in Init()
52 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, declaring_class_), in Init()
54 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, method_name_), in Init()
56 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, file_name_), in Init()
58 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, line_number_), in Init()
Dstack_trace_element-inl.h27 inline ObjPtr<String> StackTraceElement::GetDeclaringClass() { in GetDeclaringClass()
28 return GetFieldObject<String>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, declaring_class_)); in GetDeclaringClass()
31 inline ObjPtr<String> StackTraceElement::GetMethodName() { in GetMethodName()
32 return GetFieldObject<String>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, method_name_)); in GetMethodName()
35 inline ObjPtr<String> StackTraceElement::GetFileName() { in GetFileName()
36 return GetFieldObject<String>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, file_name_)); in GetFileName()
Dstack_trace_element.h30 class MANAGED StackTraceElement final : public Object {
39 return GetField32(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, line_number_)); in GetLineNumber()
42 static ObjPtr<StackTraceElement> Alloc(Thread* self,
64 DISALLOW_IMPLICIT_CONSTRUCTORS(StackTraceElement);
Dthrowable.cc132 CHECK_EQ(stack_trace->GetClass()->GetComponentType(), GetClassRoot<StackTraceElement>()); in Dump()
133 ObjPtr<ObjectArray<StackTraceElement>> ste_array = in Dump()
134 ObjPtr<ObjectArray<StackTraceElement>>::DownCast(stack_trace); in Dump()
139 ObjPtr<StackTraceElement> ste = ste_array->Get(i); in Dump()
/art/test/063-process-manager/src/
DMain.java41 Map<Thread, StackTraceElement[]> traces = Thread.getAllStackTraces(); in checkManager()
44 for (Map.Entry<Thread, StackTraceElement[]> entry : in checkManager()
51 for (StackTraceElement e : entry.getValue()) { in checkManager()
66 Map<Thread, StackTraceElement[]> traces = Thread.getAllStackTraces(); in waitForReaperTimedWaiting()
/art/test/051-thread/src/
DMain.java182 StackTraceElement[] trace = Thread.getAllStackTraces().get(Thread.currentThread()); in testMainThreadAllStackTraces()
186 List<StackTraceElement> list = Arrays.asList(trace); in testMainThreadAllStackTraces()
187 Iterator<StackTraceElement> it = list.iterator(); in testMainThreadAllStackTraces()
189 StackTraceElement ste = it.next(); in testMainThreadAllStackTraces()
195 StackTraceElement ste2 = it.next(); in testMainThreadAllStackTraces()
/art/test/129-ThreadGetId/src/
DMain.java65 Map<Thread, StackTraceElement[]> map = Thread.getAllStackTraces(); in test_getStackTraces()
66 for (Map.Entry<Thread, StackTraceElement[]> pair : map.entrySet()) { in test_getStackTraces()
81 Map<Thread, StackTraceElement[]> stMap = Thread.getAllStackTraces(); in test_getId()
/art/test/168-vmstack-annotated/src/
DMain.java95 Map<Thread,StackTraceElement[]> stacks = Thread.getAllStackTraces(); in main()
96 for (Map.Entry<Thread,StackTraceElement[]> entry : stacks.entrySet()) { in main()
215 if (fieldValue instanceof StackTraceElement) { in assertStackTraceElementStep()
216 StackTraceElement elem = (StackTraceElement) fieldValue; in assertStackTraceElementStep()
/art/test/671-npe-field-opts/src/
DMain.java60 StackTraceElement[] trace = npe.getStackTrace(); in check()
65 static void checkElement(StackTraceElement element, in checkElement()
/art/test/712-varhandle-invocations/src/
DVarHandleUnitTest.java160 StackTraceElement[] stackTraceElements = e.getStackTrace(); in getSourceInfo()
175 StackTraceElement[] stackTraceElements = new Exception().getStackTrace(); in getSourceInfo()
176 for (StackTraceElement stackTraceElement : stackTraceElements) { in getSourceInfo()
/art/test/044-proxy/src/
DBasicTest.java259 StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace(); in invoke()
261 StackTraceElement ste = stackTrace[i]; in invoke()
274 StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace(); in invoke()
276 StackTraceElement ste = stackTrace[i]; in invoke()
/art/runtime/
Dclass_root.h49 class StackTraceElement; variable
84 …, "Ljava/lang/StackTraceElement;", mirror::StackTraceElement) …
103 …a/lang/StackTraceElement;", mirror::ObjectArray<mirror::StackTraceElement>) \
Dclass_linker_test.cc641 struct StackTraceElementOffsets : public CheckOffsets<mirror::StackTraceElement> {
642 StackTraceElementOffsets() : CheckOffsets<mirror::StackTraceElement>( in StackTraceElementOffsets()
644 addOffset(OFFSETOF_MEMBER(mirror::StackTraceElement, declaring_class_), "declaringClass"); in StackTraceElementOffsets()
645 addOffset(OFFSETOF_MEMBER(mirror::StackTraceElement, file_name_), "fileName"); in StackTraceElementOffsets()
646 addOffset(OFFSETOF_MEMBER(mirror::StackTraceElement, line_number_), "lineNumber"); in StackTraceElementOffsets()
647 addOffset(OFFSETOF_MEMBER(mirror::StackTraceElement, method_name_), "methodName"); in StackTraceElementOffsets()
Dthread.cc2855 static ObjPtr<mirror::StackTraceElement> CreateStackTraceElement( in CreateStackTraceElement()
2903 return mirror::StackTraceElement::Alloc(soa.Self(), in CreateStackTraceElement()
2929 soa.Decode<mirror::ObjectArray<mirror::StackTraceElement>>(result)->GetLength(); in InternalStackTraceToStackTraceElementArray()
2933 ObjPtr<mirror::ObjectArray<mirror::StackTraceElement>> java_traces = in InternalStackTraceToStackTraceElementArray()
2956 const ObjPtr<mirror::StackTraceElement> obj = CreateStackTraceElement(soa, method, dex_pc); in InternalStackTraceToStackTraceElementArray()
2961 soa.Decode<mirror::ObjectArray<mirror::StackTraceElement>>(result)->Set<false>(i, obj); in InternalStackTraceToStackTraceElementArray()
3000 ObjPtr<mirror::StackTraceElement> obj = CreateStackTraceElement( in CreateAnnotatedStackTrace()
Dclass_linker.h70 class StackTraceElement; variable
488 ObjPtr<mirror::ObjectArray<mirror::StackTraceElement>> AllocStackTraceElementArray(Thread* self,
Dthread.h72 class StackTraceElement; variable
/art/compiler/
Dexception_test.cc164 TEST_F(ExceptionTest, StackTraceElement) { in TEST_F() argument
220 auto trace_array = soa.Decode<mirror::ObjectArray<mirror::StackTraceElement>>(ste_array); in TEST_F()
/art/test/122-npe/src/
DMain.java559 StackTraceElement[] trace = npe.getStackTrace(); in check()
565 static void checkElement(StackTraceElement element, in checkElement()
/art/test/1956-pop-frame-jit-calling/src/art/
DTest1953.java59 private static void SafePrintStackTrace(StackTraceElement st[]) {
60 for (StackTraceElement e : st) {
/art/test/1953-pop-frame/src/art/
DTest1953.java59 private static void SafePrintStackTrace(StackTraceElement st[]) {
60 for (StackTraceElement e : st) {
/art/test/1954-pop-frame-jit/src/art/
DTest1953.java59 private static void SafePrintStackTrace(StackTraceElement st[]) {
60 for (StackTraceElement e : st) {
/art/test/1955-pop-frame-jit-called/src/art/
DTest1953.java59 private static void SafePrintStackTrace(StackTraceElement st[]) {
60 for (StackTraceElement e : st) {
/art/test/988-method-trace/src/art/
DTest988.java82 for (StackTraceElement e : thr.getStackTrace()) { in genericToString()
/art/test/439-npe/src/
DMain.java875 StackTraceElement[] trace = npe.getStackTrace(); in check()
880 static void checkElement(StackTraceElement element, in checkElement()
/art/compiler/jni/
Djni_compiler_test.cc1183 ObjPtr<mirror::ObjectArray<mirror::StackTraceElement>> trace_array = in JNI_TEST()
1184 soa.Decode<mirror::ObjectArray<mirror::StackTraceElement>>(ste_array); in JNI_TEST()
1191 ObjPtr<mirror::StackTraceElement> ste = trace_array->Get(j); in JNI_TEST()

12