Home
last modified time | relevance | path

Searched refs:stack_limit (Results 1 – 2 of 2) sorted by relevance

/aosp12/bionic/libc/bionic/
H A Dpthread_attr.cpp190 rlimit stack_limit; in __pthread_attr_getstack_main_thread() local
191 if (getrlimit(RLIMIT_STACK, &stack_limit) == -1) { in __pthread_attr_getstack_main_thread()
197 if (stack_limit.rlim_cur == RLIM_INFINITY) { in __pthread_attr_getstack_main_thread()
198 stack_limit.rlim_cur = 8 * 1024 * 1024; in __pthread_attr_getstack_main_thread()
214 *stack_size = stack_limit.rlim_cur; in __pthread_attr_getstack_main_thread()
/aosp12/art/runtime/
H A Dthread.cc1274 rlimit stack_limit; in GetThreadStack()
1275 if (getrlimit(RLIMIT_STACK, &stack_limit) == -1) { in GetThreadStack()
1278 if (stack_limit.rlim_cur == RLIM_INFINITY) { in GetThreadStack()