Home
last modified time | relevance | path

Searched refs:stack_size (Results 1 – 7 of 7) sorted by relevance

/art/runtime/
Dthread_pool.cc51 size_t stack_size) in ThreadPoolWorker() argument
59 stack_size += gPageSize; in ThreadPoolWorker()
61 stack_size, in ThreadPoolWorker()
79 CHECK_PTHREAD_CALL(pthread_attr_setstacksize, (&attr, stack_size), reason); in ThreadPoolWorker()
Dthread.cc694 static size_t FixStackSize(size_t stack_size) { in FixStackSize() argument
696 if (stack_size == 0) { in FixStackSize()
697 stack_size = Runtime::Current()->GetDefaultStackSize(); in FixStackSize()
702 stack_size += 1 * MB; in FixStackSize()
708 stack_size = std::max(2 * MB, stack_size); in FixStackSize()
712 if (stack_size < PTHREAD_STACK_MIN) { in FixStackSize()
713 stack_size = PTHREAD_STACK_MIN; in FixStackSize()
719 stack_size += Thread::kStackOverflowImplicitCheckSize + in FixStackSize()
725 stack_size += GetStackOverflowReservedBytes(kRuntimeISA); in FixStackSize()
729 stack_size = RoundUp(stack_size, gPageSize); in FixStackSize()
[all …]
Dthread_pool.h96 ThreadPoolWorker(AbstractThreadPool* thread_pool, const std::string& name, size_t stack_size);
Dentrypoints_order_test.cc93 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, stack_begin, stack_size, sizeof(void*)); in CheckThreadOffsets()
94 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, stack_size, deps_or_stack_trace_sample, sizeof(void*)); in CheckThreadOffsets()
Dthread.h269 static void CreateNativeThread(JNIEnv* env, jobject peer, size_t stack_size, bool daemon);
1109 return tlsPtr_.stack_size - (tlsPtr_.stack_end - tlsPtr_.stack_begin); in GetStackSize()
2121 stack_size(0), in tls_ptr_sized_values()
2197 size_t stack_size; member
/art/runtime/native/
Djava_lang_Thread.cc50 static void Thread_nativeCreate(JNIEnv* env, jclass, jobject java_thread, jlong stack_size, in Thread_nativeCreate() argument
61 Thread::CreateNativeThread(env, java_thread, stack_size, daemon == JNI_TRUE); in Thread_nativeCreate()
/art/openjdkjvm/
DOpenjdkJvm.cc377 JNIEXPORT void JVM_StartThread(JNIEnv* env, jobject jthread, jlong stack_size, jboolean daemon) { in JVM_StartThread() argument
378 art::Thread::CreateNativeThread(env, jthread, stack_size, daemon == JNI_TRUE); in JVM_StartThread()