HomeSort by relevance Sort by last modified time
    Searched refs:ThreadState (Results 1 - 25 of 89) sorted by null

1 2 3 4

  /external/compiler-rt/lib/tsan/rtl/
tsan_fd.h 42 void FdAcquire(ThreadState *thr, uptr pc, int fd);
43 void FdRelease(ThreadState *thr, uptr pc, int fd);
44 void FdAccess(ThreadState *thr, uptr pc, int fd);
45 void FdClose(ThreadState *thr, uptr pc, int fd);
46 void FdFileCreate(ThreadState *thr, uptr pc, int fd);
47 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd);
48 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd);
49 void FdEventCreate(ThreadState *thr, uptr pc, int fd);
50 void FdSignalCreate(ThreadState *thr, uptr pc, int fd);
51 void FdInotifyCreate(ThreadState *thr, uptr pc, int fd)
    [all...]
tsan_rtl.h 319 struct ThreadState {
328 // QUESTION: can we can squeeze this into ThreadState::Fast?
329 // E.g. ThreadState::Fast is a 44-bit, 32 are taken by synch_epoch and 12 are
391 explicit ThreadState(Context *ctx, int tid, int unique_id, u64 epoch,
400 INLINE ThreadState *cur_thread() {
401 return reinterpret_cast<ThreadState *>(&cur_thread_placeholder);
409 ThreadState *thr;
531 void ALWAYS_INLINE StatInc(ThreadState *thr, StatType typ, u64 n = 1) {
535 void ALWAYS_INLINE StatSet(ThreadState *thr, StatType typ, u64 n) {
548 void ForkBefore(ThreadState *thr, uptr pc)
    [all...]
tsan_mman.h 23 void AllocatorThreadStart(ThreadState *thr);
24 void AllocatorThreadFinish(ThreadState *thr);
28 void *user_alloc(ThreadState *thr, uptr pc, uptr sz,
31 void user_free(ThreadState *thr, uptr pc, void *p);
32 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz);
33 void *user_alloc_aligned(ThreadState *thr, uptr pc, uptr sz, uptr align);
tsan_sync.h 49 void Init(ThreadState *thr, uptr pc, uptr addr, u64 uid);
74 void AllocBlock(ThreadState *thr, uptr pc, uptr p, uptr sz);
75 uptr FreeBlock(ThreadState *thr, uptr pc, uptr p);
76 void FreeRange(ThreadState *thr, uptr pc, uptr p, uptr sz);
79 SyncVar* GetOrCreateAndLock(ThreadState *thr, uptr pc,
85 void OnThreadIdle(ThreadState *thr);
97 SyncVar* GetAndLock(ThreadState *thr, uptr pc, uptr addr, bool write_lock,
tsan_mman.cc 58 void AllocatorThreadStart(ThreadState *thr) {
63 void AllocatorThreadFinish(ThreadState *thr) {
72 static void SignalUnsafeCall(ThreadState *thr, uptr pc) {
85 void *user_alloc(ThreadState *thr, uptr pc, uptr sz, uptr align) {
97 void user_free(ThreadState *thr, uptr pc, void *p) {
104 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write) {
113 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write) {
121 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz) {
147 ThreadState *thr = cur_thread();
155 ThreadState *thr = cur_thread()
    [all...]
tsan_fd.cc 50 static FdSync *allocsync(ThreadState *thr, uptr pc) {
62 static void unref(ThreadState *thr, uptr pc, FdSync *s) {
73 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) {
93 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s) {
121 void FdOnFork(ThreadState *thr, uptr pc) {
153 void FdAcquire(ThreadState *thr, uptr pc, int fd) {
164 void FdRelease(ThreadState *thr, uptr pc, int fd) {
175 void FdAccess(ThreadState *thr, uptr pc, int fd) {
183 void FdClose(ThreadState *thr, uptr pc, int fd) {
199 void FdFileCreate(ThreadState *thr, uptr pc, int fd)
    [all...]
tsan_rtl_thread.cc 43 ThreadState *caller_thr = static_cast<ThreadState *>(arg);
49 ThreadState *thr;
74 ThreadState *thr;
88 new(thr) ThreadState(ctx, tid, unique_id, epoch0, reuse_count,
141 thr->~ThreadState();
186 static void ThreadCheckIgnore(ThreadState *thr) {
195 static void ThreadCheckIgnore(ThreadState *thr) {}
198 void ThreadFinalize(ThreadState *thr) {
216 int ThreadCount(ThreadState *thr)
    [all...]
tsan_stack_trace.h 36 void ObtainCurrent(ThreadState *thr, uptr toppc);
tsan_sync.cc 20 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s);
27 void SyncVar::Init(ThreadState *thr, uptr pc, uptr addr, u64 uid) {
58 void MetaMap::AllocBlock(ThreadState *thr, uptr pc, uptr p, uptr sz) {
69 uptr MetaMap::FreeBlock(ThreadState *thr, uptr pc, uptr p) {
78 void MetaMap::FreeRange(ThreadState *thr, uptr pc, uptr p, uptr sz) {
120 SyncVar* MetaMap::GetOrCreateAndLock(ThreadState *thr, uptr pc,
129 SyncVar* MetaMap::GetAndLock(ThreadState *thr, uptr pc,
215 void MetaMap::OnThreadIdle(ThreadState *thr) {
  /external/chromium_org/v8/src/
v8threads.h 12 class ThreadState {
15 ThreadState* Next();
36 explicit ThreadState(ThreadManager* thread_manager);
37 ~ThreadState();
44 ThreadState* next_;
45 ThreadState* previous_;
88 ThreadState* FirstThreadStateInUse();
89 ThreadState* GetFreeThreadState();
95 void DeleteThreadStateList(ThreadState* anchor);
102 ThreadState* lazily_archived_thread_state_
    [all...]
v8threads.cc 115 lazily_archived_thread_state_->LinkInto(ThreadState::FREE_LIST);
137 ThreadState* state = per_thread->thread_state();
153 state->LinkInto(ThreadState::FREE_LIST);
182 ThreadState::ThreadState(ThreadManager* thread_manager)
192 ThreadState::~ThreadState() {
197 void ThreadState::AllocateSpace() {
202 void ThreadState::Unlink() {
208 void ThreadState::LinkInto(List list)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/heap/glue/
PendingGCRunner.h 34 #include "platform/heap/ThreadState.h"
63 blink::ThreadState* state = blink::ThreadState::current();
64 state->safePoint(m_nesting ? blink::ThreadState::HeapPointersOnStack : blink::ThreadState::NoHeapPointersOnStack);
MessageLoopInterruptor.h 34 #include "platform/heap/ThreadState.h"
39 class MessageLoopInterruptor : public ThreadState::Interruptor {
  /external/chromium_org/third_party/WebKit/Source/web/
WebHeap.cpp 40 ThreadState::current()->enterSafePointWithPointers(this);
45 ThreadState::current()->leaveSafePoint();
50 Heap::collectGarbage(ThreadState::HeapPointersOnStack);
WebKit.cpp 88 static ThreadState::Interruptor* s_messageLoopInterruptor = 0;
89 static ThreadState::Interruptor* s_isolateInterruptor = 0;
102 ThreadState::current()->addInterruptor(s_isolateInterruptor);
151 ThreadState::attachMainThread();
160 ThreadState::current()->addInterruptor(s_messageLoopInterruptor);
192 ThreadState::current()->removeInterruptor(s_isolateInterruptor);
201 ThreadState::current()->removeInterruptor(s_messageLoopInterruptor);
211 ThreadState::detachMainThread();
  /external/chromium_org/third_party/WebKit/Source/platform/
WebThreadSupportingGC.cpp 22 if (ThreadState::current()) {
24 ThreadState::SafePointScope scope(ThreadState::HeapPointersOnStack);
34 ThreadState::attach();
35 ThreadState::current()->addInterruptor(m_messageLoopInterruptor.get());
40 ThreadState::current()->removeInterruptor(m_messageLoopInterruptor.get());
41 ThreadState::detach();
TaskSynchronizer.cpp 32 #include "heap/ThreadState.h"
43 if (ThreadState::current()) {
46 ThreadState::SafePointScope scope(ThreadState::HeapPointersOnStack);
  /external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/
SQLiteFileSystem.cpp 48 ThreadState::SafePointScope scope(ThreadState::HeapPointersOnStack);
  /external/chromium_org/third_party/WebKit/Source/platform/heap/
ThreadState.cpp 32 #include "platform/heap/ThreadState.h"
103 WTF::ThreadSpecific<ThreadState*>* ThreadState::s_threadSpecific = 0;
104 uint8_t ThreadState::s_mainThreadStateStorage[sizeof(ThreadState)];
105 SafePointBarrier* ThreadState::s_safePointBarrier = 0;
106 bool ThreadState::s_inGC = false;
121 typedef void (*PushAllRegistersCallback)(SafePointBarrier*, ThreadState*, intptr_t*);
122 extern "C" void pushAllRegisters(SafePointBarrier*, ThreadState*, PushAllRegistersCallback);
132 ASSERT(ThreadState::current()->isAtSafePoint())
    [all...]
ThreadState.h 270 class PLATFORM_EXPORT ThreadState {
271 WTF_MAKE_NONCOPYABLE(ThreadState);
290 explicit NoSweepScope(ThreadState* state) : m_state(state)
301 ThreadState* m_state;
306 typedef HashSet<ThreadState*> AttachedThreadStateSet;
325 // Associate ThreadState object with the current thread. After this
330 // Disassociate attached ThreadState from the current thread. The thread
334 static ThreadState* current() { return **s_threadSpecific; }
335 static ThreadState* mainThreadState()
337 return reinterpret_cast<ThreadState*>(s_mainThreadStateStorage)
    [all...]
HeapTest.cpp 38 #include "platform/heap/ThreadState.h"
80 ThreadMarker() : m_creatingThread(reinterpret_cast<ThreadState*>(0)), m_num(0) { }
81 ThreadMarker(unsigned i) : m_creatingThread(ThreadState::current()), m_num(i) { }
82 ThreadMarker(WTF::HashTableDeletedValueType deleted) : m_creatingThread(reinterpret_cast<ThreadState*>(-1)), m_num(0) { }
85 EXPECT_TRUE((m_creatingThread == ThreadState::current())
86 || (m_creatingThread == reinterpret_cast<ThreadState*>(0))
87 || (m_creatingThread == reinterpret_cast<ThreadState*>(-1)));
89 bool isHashTableDeletedValue() const { return m_creatingThread == reinterpret_cast<ThreadState*>(-1); }
91 ThreadState* m_creatingThread;
195 explicit TestGCScope(ThreadState::StackState state
    [all...]
  /external/compiler-rt/lib/tsan/go/
tsan_go.cc 91 static ThreadState *main_thr;
94 static ThreadState *AllocGoroutine() {
95 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex,
96 sizeof(ThreadState));
101 void __tsan_init(ThreadState **thrp, void (*cb)(SymbolizeContext *cb)) {
103 ThreadState *thr = AllocGoroutine();
111 ThreadState *thr = main_thr;
120 void __tsan_read(ThreadState *thr, void *addr, void *pc) {
124 void __tsan_read_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc)
    [all...]
  /art/runtime/
thread_state.h 22 enum ThreadState {
thread-inl.h 48 inline ThreadState Thread::SetState(ThreadState new_state) {
56 return static_cast<ThreadState>(old_state_and_flags.as_struct.state);
80 inline void Thread::TransitionFromRunnableToSuspended(ThreadState new_state) {
111 inline ThreadState Thread::TransitionFromSuspendedToRunnable() {
116 DCHECK_NE(static_cast<ThreadState>(old_state), kRunnable);
152 return static_cast<ThreadState>(old_state);
  /external/chromium_org/third_party/WebKit/Source/platform/testing/
RunAllTests.cpp 63 blink::ThreadState::attachMainThread();
68 blink::ThreadState::detachMainThread();

Completed in 498 milliseconds

1 2 3 4