Searched refs:stack_size (Results 1 – 7 of 7) sorted by relevance
/art/runtime/ |
D | thread_pool.cc | 43 size_t stack_size) in ThreadPoolWorker() argument 47 stack_size += kPageSize; in ThreadPoolWorker() 49 stack_.reset(MemMap::MapAnonymous(name.c_str(), nullptr, stack_size, PROT_READ | PROT_WRITE, in ThreadPoolWorker()
|
D | thread.cc | 496 static size_t FixStackSize(size_t stack_size) { in FixStackSize() argument 498 if (stack_size == 0) { in FixStackSize() 499 stack_size = Runtime::Current()->GetDefaultStackSize(); in FixStackSize() 504 stack_size += 1 * MB; in FixStackSize() 507 if (stack_size < PTHREAD_STACK_MIN) { in FixStackSize() 508 stack_size = PTHREAD_STACK_MIN; in FixStackSize() 515 stack_size += GetStackOverflowReservedBytes(kRuntimeISA); in FixStackSize() 519 stack_size += Thread::kStackOverflowImplicitCheckSize + in FixStackSize() 524 stack_size = RoundUp(stack_size, kPageSize); in FixStackSize() 526 return stack_size; in FixStackSize() [all …]
|
D | thread_pool.h | 68 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size);
|
D | entrypoints_order_test.cc | 97 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, stack_begin, stack_size, sizeof(void*)); in CheckThreadOffsets() 98 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, stack_size, deps_or_stack_trace_sample, sizeof(void*)); in CheckThreadOffsets()
|
D | thread.h | 166 static void CreateNativeThread(JNIEnv* env, jobject peer, size_t stack_size, bool daemon); 816 return tlsPtr_.stack_size - (tlsPtr_.stack_end - tlsPtr_.stack_begin); in GetStackSize() 1561 self(nullptr), opeer(nullptr), jpeer(nullptr), stack_begin(nullptr), stack_size(0), in PACKED() 1616 size_t stack_size; in PACKED() local
|
/art/runtime/native/ |
D | java_lang_Thread.cc | 50 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/ |
D | OpenjdkJvm.cc | 348 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()
|