/art/test/1934-jvmti-signal-thread/ |
D | expected-stdout.txt | 2 interrupting other thread before starting 5 stopping other thread before starting 8 Interrupting other thread recurring 9 Other thread Interrupted. err: java.lang.Error: Interrupted! 11 stopping other thread recurring 12 Other thread Stopped by: java.lang.Error: AWESOME! 14 Interrupting other thread spinning 15 Other thread Interrupted. 17 stopping other thread spinning 18 Other thread Stopped by: java.lang.Error: AWESOME! [all …]
|
D | Android.bp | 3 // Build rules for ART run-test `1934-jvmti-signal-thread`. 16 name: "art-run-test-1934-jvmti-signal-thread", 21 ":art-run-test-1934-jvmti-signal-thread-expected-stdout", 22 ":art-run-test-1934-jvmti-signal-thread-expected-stderr", 28 name: "art-run-test-1934-jvmti-signal-thread-expected-stdout", 29 out: ["art-run-test-1934-jvmti-signal-thread-expected-stdout.txt"], 36 name: "art-run-test-1934-jvmti-signal-thread-expected-stderr", 37 out: ["art-run-test-1934-jvmti-signal-thread-expected-stderr.txt"],
|
/art/runtime/ |
D | thread_list.cc | 121 bool ThreadList::Contains(Thread* thread) { in Contains() argument 122 return find(list_.begin(), list_.end(), thread) != list_.end(); in Contains() 132 for (const auto& thread : list_) { in DumpNativeStacks() local 133 os << "DUMPING THREAD " << thread->GetTid() << "\n"; in DumpNativeStacks() 134 DumpNativeStack(os, unwinder, thread->GetTid(), "\t"); in DumpNativeStacks() 177 Thread* thread; in DumpUnattachedThreads() local 180 thread = FindThreadByTid(tid); in DumpUnattachedThreads() 182 if (thread == nullptr) { in DumpUnattachedThreads() 207 void Run(Thread* thread) override { in Run() argument 216 dump_order = thread->Dump(local_os, unwinder_, dump_native_stack_); in Run() [all …]
|
D | instrumentation.h | 77 virtual void MethodEntered(Thread* thread, ArtMethod* method) 80 virtual void MethodExited(Thread* thread, 89 virtual void MethodExited(Thread* thread, 97 virtual void MethodUnwind(Thread* thread, 103 virtual void DexPcMoved(Thread* thread, 110 virtual void FieldRead(Thread* thread, 116 virtual void FieldWritten(Thread* thread, 125 virtual void FieldWritten(Thread* thread, 134 virtual void ExceptionThrown(Thread* thread, 139 virtual void ExceptionHandled(Thread* thread, Handle<mirror::Throwable> exception_object) [all …]
|
D | instrumentation.cc | 66 Thread* thread, in MethodExited() argument 75 MethodExited(thread, method, frame, v); in MethodExited() 79 void InstrumentationListener::FieldWritten(Thread* thread, in FieldWritten() argument 88 FieldWritten(thread, this_object, method, dex_pc, field, v); in FieldWritten() 277 bool Instrumentation::NeedsDexPcEvents(ArtMethod* method, Thread* thread) { in NeedsDexPcEvents() argument 278 return (InterpretOnly(method) || thread->IsForceInterpreter()) && HasDexPcListeners(); in NeedsDexPcEvents() 486 void InstrumentationInstallStack(Thread* thread, bool deopt_all_frames) in InstrumentationInstallStack() argument 549 thread->GetThreadName(thread_name); in InstrumentationInstallStack() 554 InstallStackVisitor visitor(thread, in InstrumentationInstallStack() 560 thread->SetDeoptCheckRequired(true); in InstrumentationInstallStack() [all …]
|
D | trace.cc | 323 static void GetSample(Thread* thread, void* arg) REQUIRES_SHARED(Locks::mutator_lock_) { in GetSample() argument 334 thread, in GetSample() 338 the_trace->CompareAndUpdateStackTrace(thread, stack_trace); in GetSample() 341 static void ClearThreadStackTraceAndClockBase(Thread* thread, void* arg ATTRIBUTE_UNUSED) { in ClearThreadStackTraceAndClockBase() argument 342 thread->SetTraceClockBase(0); in ClearThreadStackTraceAndClockBase() 343 std::vector<ArtMethod*>* stack_trace = thread->GetStackTraceSample(); in ClearThreadStackTraceAndClockBase() 344 thread->SetStackTraceSample(nullptr); in ClearThreadStackTraceAndClockBase() 348 void Trace::CompareAndUpdateStackTrace(Thread* thread, in CompareAndUpdateStackTrace() argument 351 std::vector<ArtMethod*>* old_stack_trace = thread->GetStackTraceSample(); in CompareAndUpdateStackTrace() 353 thread->SetStackTraceSample(stack_trace); in CompareAndUpdateStackTrace() [all …]
|
/art/test/1932-monitor-events-misc/ |
D | expected-stdout.jvm.txt | 2 Locker thread 1 for NamedLock[Lock testLockUncontend] contended-LOCKING NamedLock[Lock testLockUnco… 4 Locker thread 1 for NamedLock[Lock testLockUncontend] LOCKED NamedLock[Lock testLockUncontend] 6 Locker thread 3 for NamedLock[Lock testLockThrowEnter] contended-LOCKING NamedLock[Lock testLockThr… 8 Locker thread 3 for NamedLock[Lock testLockThrowEnter] LOCKED NamedLock[Lock testLockThrowEnter] 9 Caught exception: art.Monitors$TestException: Exception thrown by other thread! 13 Locker thread 5 for NamedLock[Lock testLockThrowEntered] contended-LOCKING NamedLock[Lock testLockT… 14 Locker thread 5 for NamedLock[Lock testLockThrowEntered] LOCKED NamedLock[Lock testLockThrowEntered] 16 Caught exception: art.Monitors$TestException: Exception thrown by other thread! 20 Locker thread 7 for NamedLock[Lock testLockThrowBoth] contended-LOCKING NamedLock[Lock testLockThro… 22 Locker thread 7 for NamedLock[Lock testLockThrowBoth] LOCKED NamedLock[Lock testLockThrowBoth] [all …]
|
D | expected-stdout.txt | 2 Locker thread 1 for NamedLock[Lock testLockUncontend] contended-LOCKING NamedLock[Lock testLockUnco… 4 Locker thread 1 for NamedLock[Lock testLockUncontend] LOCKED NamedLock[Lock testLockUncontend] 6 Locker thread 3 for NamedLock[Lock testLockThrowEnter] contended-LOCKING NamedLock[Lock testLockThr… 8 Locker thread 3 for NamedLock[Lock testLockThrowEnter] LOCKED NamedLock[Lock testLockThrowEnter] 9 Caught exception: art.Monitors$TestException: Exception thrown by other thread! 13 Locker thread 5 for NamedLock[Lock testLockThrowEntered] contended-LOCKING NamedLock[Lock testLockT… 14 Locker thread 5 for NamedLock[Lock testLockThrowEntered] LOCKED NamedLock[Lock testLockThrowEntered] 16 Caught exception: art.Monitors$TestException: Exception thrown by other thread! 20 Locker thread 7 for NamedLock[Lock testLockThrowBoth] contended-LOCKING NamedLock[Lock testLockThro… 22 Locker thread 7 for NamedLock[Lock testLockThrowBoth] LOCKED NamedLock[Lock testLockThrowBoth] [all …]
|
/art/test/1969-force-early-return-void/ |
D | expected-stdout.no-jvm.txt | 3 NORMAL RUN: result for (ID: 0) StandardTestObject { cnt: 2 } on Test1969 target thread - 0 5 Will force return of Test1969 target thread - 1 6 result for (ID: 1) StandardTestObject { cnt: 1 } on Test1969 target thread - 1 9 NORMAL RUN: result for (ID: 2) SynchronizedFunctionTestObject { cnt: 2 } on Test1969 target thread … 11 Will force return of Test1969 target thread - 3 12 result for (ID: 3) SynchronizedFunctionTestObject { cnt: 1 } on Test1969 target thread - 3 15 NORMAL RUN: result for (ID: 4) SynchronizedTestObject { cnt: 2 } on Test1969 target thread - 4 17 Will force return of Test1969 target thread - 5 18 result for (ID: 5) SynchronizedTestObject { cnt: 1 } on Test1969 target thread - 5 21 NORMAL RUN: result for (ID: 6) StandardTestObject { cnt: 2 } on Test1969 target thread - 6 [all …]
|
D | expected-stdout.txt | 3 NORMAL RUN: result for (ID: 0) StandardTestObject { cnt: 2 } on Test1969 target thread - 0 5 Will force return of Test1969 target thread - 1 6 result for (ID: 1) StandardTestObject { cnt: 1 } on Test1969 target thread - 1 9 NORMAL RUN: result for (ID: 2) SynchronizedFunctionTestObject { cnt: 2 } on Test1969 target thread … 11 Will force return of Test1969 target thread - 3 12 result for (ID: 3) SynchronizedFunctionTestObject { cnt: 1 } on Test1969 target thread - 3 15 NORMAL RUN: result for (ID: 4) SynchronizedTestObject { cnt: 2 } on Test1969 target thread - 4 17 Will force return of Test1969 target thread - 5 18 result for (ID: 5) SynchronizedTestObject { cnt: 1 } on Test1969 target thread - 5 21 NORMAL RUN: result for (ID: 6) StandardTestObject { cnt: 2 } on Test1969 target thread - 6 [all …]
|
/art/test/129-ThreadGetId/src/ |
D | Main.java | 48 for (Thread thread : array) { in getHeapTaskDaemon() 49 if (thread.getName().equals("HeapTaskDaemon") && in getHeapTaskDaemon() 50 thread.getState() != Thread.State.NEW) { in getHeapTaskDaemon() 51 return thread; in getHeapTaskDaemon() 67 Thread thread = pair.getKey(); in test_getStackTraces() local 70 if (thread == heapDaemon) { in test_getStackTraces() 71 System.out.println(thread.getName() + " depth " + pair.getValue().length); in test_getStackTraces() 82 for (Thread thread : stMap.keySet()) { in test_getId() 83 if (thread.getId() <= 0) { in test_getId() 84 System.out.println("thread's ID is not positive: " + thread.getName()); in test_getId()
|
/art/test/1931-monitor-events/ |
D | expected-stdout.jvm.txt | 2 Locker thread 1 for NamedLock[Lock testLock] contended-LOCKING NamedLock[Lock testLock] 3 Locker thread 1 for NamedLock[Lock testLock] LOCKED NamedLock[Lock testLock] 6 Locker thread 2 for NamedLock[Lock testWait] start-monitor-wait NamedLock[Lock testWait] timeout: 0 7 Locker thread 2 for NamedLock[Lock testWait] monitor-waited NamedLock[Lock testWait] timed_out: fal… 9 Locker thread 4 for NamedLock[Lock testTimedWait] start-monitor-wait NamedLock[Lock testTimedWait] … 10 Locker thread 4 for NamedLock[Lock testTimedWait] monitor-waited NamedLock[Lock testTimedWait] time… 13 Locker thread 6 for NamedLock[Lock testTimedWaitTimeout] start-monitor-wait NamedLock[Lock testTime… 14 Locker thread 6 for NamedLock[Lock testTimedWaitTimeout] monitor-waited NamedLock[Lock testTimedWai… 17 Unlocked wait thread: start-monitor-wait NamedLock[Lock testUnlockedWait] timeout: 0 21 Locker thread 7 for NamedLock[Lock testIllegalWait] start-monitor-wait NamedLock[Lock testIllegalWa… [all …]
|
D | expected-stdout.txt | 2 Locker thread 1 for NamedLock[Lock testLock] contended-LOCKING NamedLock[Lock testLock] 3 Locker thread 1 for NamedLock[Lock testLock] LOCKED NamedLock[Lock testLock] 8 Locker thread 2 for NamedLock[Lock testWait] start-monitor-wait NamedLock[Lock testWait] timeout: 0 9 Locker thread 2 for NamedLock[Lock testWait] monitor-waited NamedLock[Lock testWait] timed_out: fal… 11 Locker thread 4 for NamedLock[Lock testTimedWait] start-monitor-wait NamedLock[Lock testTimedWait] … 12 Locker thread 4 for NamedLock[Lock testTimedWait] monitor-waited NamedLock[Lock testTimedWait] time… 15 Locker thread 6 for NamedLock[Lock testTimedWaitTimeout] start-monitor-wait NamedLock[Lock testTime… 16 Locker thread 6 for NamedLock[Lock testTimedWaitTimeout] monitor-waited NamedLock[Lock testTimedWai… 19 Unlocked wait thread: start-monitor-wait NamedLock[Lock testUnlockedWait] timeout: 0 23 Locker thread 7 for NamedLock[Lock testIllegalWait] start-monitor-wait NamedLock[Lock testIllegalWa… [all …]
|
/art/openjdkjvmti/ |
D | events-inl.h | 193 inline std::vector<impl::EventHandlerFunc<kEvent>> EventHandler::CollectEvents(art::Thread* thread, in CollectEvents() argument 195 art::ReaderMutexLock mu(thread, envs_lock_); in CollectEvents() 198 if (ShouldDispatch<kEvent>(env, thread, args...)) { in CollectEvents() 209 inline void EventHandler::DispatchClassFileLoadHookEvent(art::Thread* thread, in DispatchClassFileLoadHookEvent() argument 219 art::ScopedThreadStateChange stsc(thread, art::ThreadState::kNative); in DispatchClassFileLoadHookEvent() 227 CollectEvents<kEvent>(thread, in DispatchClassFileLoadHookEvent() 274 inline void EventHandler::DispatchEvent(art::Thread* thread, Args... args) const { in DispatchEvent() argument 275 art::ScopedThreadStateChange stsc(thread, art::ThreadState::kNative); in DispatchEvent() 280 DCHECK(thread == nullptr || !thread->IsExceptionPending()); in DispatchEvent() 281 std::vector<impl::EventHandlerFunc<kEvent>> events = CollectEvents<kEvent>(thread, args...); in DispatchEvent() [all …]
|
/art/runtime/native/ |
D | java_lang_Thread.cc | 46 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_isInterrupted() local 47 return (thread != nullptr) ? thread->IsInterrupted() : JNI_FALSE; in Thread_isInterrupted() 77 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_nativeGetStatus() local 78 if (thread != nullptr) { in Thread_nativeGetStatus() 79 internal_thread_state = thread->GetState(); in Thread_nativeGetStatus() 124 Thread* thread = soa.Self(); in Thread_holdsLock() local 125 return thread->HoldsLock(object); in Thread_holdsLock() 131 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_interrupt0() local 132 if (thread != nullptr) { in Thread_interrupt0() 133 thread->Interrupt(soa.Self()); in Thread_interrupt0() [all …]
|
/art/openjdkjvmti/include/ |
D | jvmti.h | 540 jthread thread; member 723 jthread thread, 742 jthread thread, 748 jthread thread, 777 jthread thread, 787 jthread thread, 795 jthread thread, 805 jthread thread, 817 jthread thread, 830 jthread thread, [all …]
|
/art/test/051-thread/ |
D | Android.bp | 3 // Build rules for ART run-test `051-thread`. 16 name: "art-run-test-051-thread", 21 ":art-run-test-051-thread-expected-stdout", 22 ":art-run-test-051-thread-expected-stderr", 28 name: "art-run-test-051-thread-expected-stdout", 29 out: ["art-run-test-051-thread-expected-stdout.txt"], 36 name: "art-run-test-051-thread-expected-stderr", 37 out: ["art-run-test-051-thread-expected-stderr.txt"],
|
/art/test/1971-multi-force-early-return/ |
D | expected-stdout.txt | 1 Thread 0: Thread: Test1971 - Thread 0 method returned: art.Test1971$NormalExit { thread: Test1971 -… 2 …ead 1 method returned: art.Test1971$ForcedExit { thread: Test1971 - Thread 1, creator: Concurrent … 3 …ead 2 method returned: art.Test1971$ForcedExit { thread: Test1971 - Thread 2, creator: Concurrent …
|
/art/test/1922-owned-monitors-info/ |
D | expected-stdout.txt | 1 owner-monitors, This thread 5 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monit… 9 Owned monitors: [NamedLock("Lock 1"), Target("Current thread test: owned-monitor")] 13 Owned monitors: [NamedLock("Lock 1"), Target("Current thread test: owned-monitor")] 15 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monit… 17 …ock("Lock 1"), NamedLock("Lock 2"), NamedLock("Lock 3"), Target("Current thread test: owned-monito… 19 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monit… 21 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monit… 23 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monit… 27 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 3"), Target("Current thread test: owned-monit… [all …]
|
/art/test/1936-thread-end-events/ |
D | Android.bp | 3 // Build rules for ART run-test `1936-thread-end-events`. 16 name: "art-run-test-1936-thread-end-events", 21 ":art-run-test-1936-thread-end-events-expected-stdout", 22 ":art-run-test-1936-thread-end-events-expected-stderr", 28 name: "art-run-test-1936-thread-end-events-expected-stdout", 29 out: ["art-run-test-1936-thread-end-events-expected-stdout.txt"], 36 name: "art-run-test-1936-thread-end-events-expected-stderr", 37 out: ["art-run-test-1936-thread-end-events-expected-stderr.txt"],
|
/art/test/202-thread-oome/ |
D | Android.bp | 3 // Build rules for ART run-test `202-thread-oome`. 16 name: "art-run-test-202-thread-oome", 21 ":art-run-test-202-thread-oome-expected-stdout", 22 ":art-run-test-202-thread-oome-expected-stderr", 28 name: "art-run-test-202-thread-oome-expected-stdout", 29 out: ["art-run-test-202-thread-oome-expected-stdout.txt"], 36 name: "art-run-test-202-thread-oome-expected-stderr", 37 out: ["art-run-test-202-thread-oome-expected-stderr.txt"],
|
/art/test/2037-thread-name-inherit/ |
D | Android.bp | 3 // Build rules for ART run-test `2037-thread-name-inherit`. 16 name: "art-run-test-2037-thread-name-inherit", 21 ":art-run-test-2037-thread-name-inherit-expected-stdout", 22 ":art-run-test-2037-thread-name-inherit-expected-stderr", 28 name: "art-run-test-2037-thread-name-inherit-expected-stdout", 29 out: ["art-run-test-2037-thread-name-inherit-expected-stdout.txt"], 36 name: "art-run-test-2037-thread-name-inherit-expected-stderr", 37 out: ["art-run-test-2037-thread-name-inherit-expected-stderr.txt"],
|
/art/test/931-agent-thread/ |
D | Android.bp | 3 // Build rules for ART run-test `931-agent-thread`. 16 name: "art-run-test-931-agent-thread", 21 ":art-run-test-931-agent-thread-expected-stdout", 22 ":art-run-test-931-agent-thread-expected-stderr", 28 name: "art-run-test-931-agent-thread-expected-stdout", 29 out: ["art-run-test-931-agent-thread-expected-stdout.txt"], 36 name: "art-run-test-931-agent-thread-expected-stderr", 37 out: ["art-run-test-931-agent-thread-expected-stderr.txt"],
|
/art/test/720-thread-priority/ |
D | Android.bp | 3 // Build rules for ART run-test `720-thread-priority`. 16 name: "art-run-test-720-thread-priority", 21 ":art-run-test-720-thread-priority-expected-stdout", 22 ":art-run-test-720-thread-priority-expected-stderr", 28 name: "art-run-test-720-thread-priority-expected-stdout", 29 out: ["art-run-test-720-thread-priority-expected-stdout.txt"], 36 name: "art-run-test-720-thread-priority-expected-stderr", 37 out: ["art-run-test-720-thread-priority-expected-stderr.txt"],
|
/art/test/1962-multi-thread-events/ |
D | Android.bp | 3 // Build rules for ART run-test `1962-multi-thread-events`. 16 name: "art-run-test-1962-multi-thread-events", 21 ":art-run-test-1962-multi-thread-events-expected-stdout", 22 ":art-run-test-1962-multi-thread-events-expected-stderr", 28 name: "art-run-test-1962-multi-thread-events-expected-stdout", 29 out: ["art-run-test-1962-multi-thread-events-expected-stdout.txt"], 36 name: "art-run-test-1962-multi-thread-events-expected-stderr", 37 out: ["art-run-test-1962-multi-thread-events-expected-stderr.txt"],
|