Searched refs:stack_size (Results 1 – 7 of 7) sorted by relevance
/art/runtime/ |
D | thread_pool.cc | 50 size_t stack_size) in ThreadPoolWorker() argument 58 stack_size += kPageSize; in ThreadPoolWorker() 60 stack_size, in ThreadPoolWorker() 78 CHECK_PTHREAD_CALL(pthread_attr_setstacksize, (&attr, stack_size), reason); in ThreadPoolWorker()
|
D | thread.cc | 682 static size_t FixStackSize(size_t stack_size) { in FixStackSize() argument 684 if (stack_size == 0) { in FixStackSize() 685 stack_size = Runtime::Current()->GetDefaultStackSize(); in FixStackSize() 690 stack_size += 1 * MB; in FixStackSize() 696 stack_size = std::max(2 * MB, stack_size); in FixStackSize() 700 if (stack_size < PTHREAD_STACK_MIN) { in FixStackSize() 701 stack_size = PTHREAD_STACK_MIN; in FixStackSize() 708 stack_size += GetStackOverflowReservedBytes(kRuntimeISA); in FixStackSize() 712 stack_size += Thread::kStackOverflowImplicitCheckSize + in FixStackSize() 717 stack_size = RoundUp(stack_size, kPageSize); in FixStackSize() [all …]
|
D | thread_pool.h | 95 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size);
|
D | entrypoints_order_test.cc | 94 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()
|
D | thread.h | 179 static void CreateNativeThread(JNIEnv* env, jobject peer, size_t stack_size, bool daemon); 845 return tlsPtr_.stack_size - (tlsPtr_.stack_end - tlsPtr_.stack_begin); in GetStackSize() 1689 self(nullptr), opeer(nullptr), jpeer(nullptr), stack_begin(nullptr), stack_size(0), in PACKED() 1743 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 | 349 JNIEXPORT void JVM_StartThread(JNIEnv* env, jobject jthread, jlong stack_size, jboolean daemon) { in JVM_StartThread() argument 350 art::Thread::CreateNativeThread(env, jthread, stack_size, daemon == JNI_TRUE); in JVM_StartThread()
|