Searched defs:stack_size (Results 1 - 4 of 4) sorted by relevance

/art/runtime/native/
H A Djava_lang_Thread.cc45 static void Thread_nativeCreate(JNIEnv* env, jclass, jobject java_thread, jlong stack_size, argument
47 Thread::CreateNativeThread(env, java_thread, stack_size, daemon == JNI_TRUE);
/art/runtime/
H A Dthread_pool.cc29 size_t stack_size)
32 stack_size_(stack_size) {
36 CHECK_PTHREAD_CALL(pthread_attr_setstacksize, (&attr, stack_size), reason);
199 size_t stack_size)
200 : ThreadPoolWorker(thread_pool, name, stack_size), task_(NULL) {}
28 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size) argument
198 WorkStealingWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size) argument
H A Dutils.cc82 void GetThreadStack(pthread_t thread, void*& stack_base, size_t& stack_size) { argument
84 stack_size = pthread_get_stacksize_np(thread);
91 stack_base = reinterpret_cast<byte*>(stack_addr) - stack_size;
98 CHECK_PTHREAD_CALL(pthread_attr_getstack, (&attributes, &stack_base, &stack_size), __FUNCTION__);
H A Dthread.cc203 static size_t FixStackSize(size_t stack_size) { argument
205 if (stack_size == 0) {
206 stack_size = Runtime::Current()->GetDefaultStackSize();
211 stack_size += 1 * MB;
214 if (stack_size < PTHREAD_STACK_MIN) {
215 stack_size = PTHREAD_STACK_MIN;
221 stack_size += Thread::kStackOverflowReservedBytes;
224 stack_size = RoundUp(stack_size, kPageSize);
226 return stack_size;
229 CreateNativeThread(JNIEnv* env, jobject java_peer, size_t stack_size, bool is_daemon) argument
419 size_t stack_size; local
[all...]

Completed in 287 milliseconds