Home
last modified time | relevance | path

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

/art/runtime/
Dthread_pool.cc50 size_t stack_size) in ThreadPoolWorker() argument
58 stack_size += kPageSize; in ThreadPoolWorker()
60 stack_size, in ThreadPoolWorker()
Dthread.cc678 static size_t FixStackSize(size_t stack_size) { in FixStackSize() argument
680 if (stack_size == 0) { in FixStackSize()
681 stack_size = Runtime::Current()->GetDefaultStackSize(); in FixStackSize()
686 stack_size += 1 * MB; in FixStackSize()
692 stack_size = std::max(2 * MB, stack_size); in FixStackSize()
696 if (stack_size < PTHREAD_STACK_MIN) { in FixStackSize()
697 stack_size = PTHREAD_STACK_MIN; in FixStackSize()
704 stack_size += GetStackOverflowReservedBytes(kRuntimeISA); in FixStackSize()
708 stack_size += Thread::kStackOverflowImplicitCheckSize + in FixStackSize()
713 stack_size = RoundUp(stack_size, kPageSize); in FixStackSize()
[all …]
Dthread_pool.h92 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size);
Dentrypoints_order_test.cc94 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, stack_begin, stack_size, sizeof(void*)); in CheckThreadOffsets()
95 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, stack_size, deps_or_stack_trace_sample, sizeof(void*)); in CheckThreadOffsets()
Dthread.h178 static void CreateNativeThread(JNIEnv* env, jobject peer, size_t stack_size, bool daemon);
832 return tlsPtr_.stack_size - (tlsPtr_.stack_end - tlsPtr_.stack_begin); in GetStackSize()
1665 self(nullptr), opeer(nullptr), jpeer(nullptr), stack_begin(nullptr), stack_size(0), in PACKED()
1719 size_t stack_size; in PACKED() local
/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.cc348 JNIEXPORT void JVM_StartThread(JNIEnv* env, jobject jthread, jlong stack_size, jboolean daemon) { in JVM_StartThread() argument
349 art::Thread::CreateNativeThread(env, jthread, stack_size, daemon == JNI_TRUE); in JVM_StartThread()