Searched refs:stack_size (Results 1 – 8 of 8) sorted by relevance
/art/runtime/ |
D | thread_pool.cc | 30 size_t stack_size) in ThreadPoolWorker() argument 34 stack_.reset(MemMap::MapAnonymous(name.c_str(), nullptr, stack_size, PROT_READ | PROT_WRITE, in ThreadPoolWorker() 205 size_t stack_size) in WorkStealingWorker() argument 206 : ThreadPoolWorker(thread_pool, name, stack_size), task_(nullptr) {} in WorkStealingWorker()
|
D | thread_pool.h | 63 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size); 175 WorkStealingWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size);
|
D | thread.cc | 307 static size_t FixStackSize(size_t stack_size) { in FixStackSize() argument 309 if (stack_size == 0) { in FixStackSize() 310 stack_size = Runtime::Current()->GetDefaultStackSize(); in FixStackSize() 315 stack_size += 1 * MB; in FixStackSize() 318 if (stack_size < PTHREAD_STACK_MIN) { in FixStackSize() 319 stack_size = PTHREAD_STACK_MIN; in FixStackSize() 326 stack_size += GetStackOverflowReservedBytes(kRuntimeISA); in FixStackSize() 330 stack_size += Thread::kStackOverflowImplicitCheckSize + in FixStackSize() 335 stack_size = RoundUp(stack_size, kPageSize); in FixStackSize() 337 return stack_size; in FixStackSize() [all …]
|
D | utils.cc | 81 void GetThreadStack(pthread_t thread, void** stack_base, size_t* stack_size, size_t* guard_size) { in GetThreadStack() argument 83 *stack_size = pthread_get_stacksize_np(thread); in GetThreadStack() 90 *stack_base = reinterpret_cast<uint8_t*>(stack_addr) - *stack_size; in GetThreadStack() 103 CHECK_PTHREAD_CALL(pthread_attr_getstack, (&attributes, stack_base, stack_size), __FUNCTION__); in GetThreadStack() 118 size_t old_stack_size = *stack_size; in GetThreadStack() 121 *stack_size = 8 * MB; in GetThreadStack() 122 *stack_base = reinterpret_cast<uint8_t*>(*stack_base) + (old_stack_size - *stack_size); in GetThreadStack() 125 << " to " << PrettySize(*stack_size) in GetThreadStack()
|
D | thread.h | 150 static void CreateNativeThread(JNIEnv* env, jobject peer, size_t stack_size, bool daemon); 624 return tlsPtr_.stack_size - (tlsPtr_.stack_end - tlsPtr_.stack_begin); in GetStackSize() 1138 self(nullptr), opeer(nullptr), jpeer(nullptr), stack_begin(nullptr), stack_size(0), in tls_ptr_sized_values() 1189 size_t stack_size; member
|
D | entrypoints_order_test.cc | 98 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, stack_begin, stack_size, sizeof(void*)); in CheckThreadOffsets() 99 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, stack_size, stack_trace_sample, sizeof(void*)); in CheckThreadOffsets()
|
D | utils.h | 210 void GetThreadStack(pthread_t thread, void** stack_base, size_t* stack_size, size_t* guard_size);
|
/art/runtime/native/ |
D | java_lang_Thread.cc | 49 static void Thread_nativeCreate(JNIEnv* env, jclass, jobject java_thread, jlong stack_size, in Thread_nativeCreate() argument 51 Thread::CreateNativeThread(env, java_thread, stack_size, daemon == JNI_TRUE); in Thread_nativeCreate()
|