Lines Matching defs:thread
146 JavaThread* thread = NULL;
151 thread = (JavaThread*)t;
159 if (info != NULL && thread != NULL) {
164 // check if fault address is within thread stack
165 if (addr < thread->stack_base() &&
166 addr >= thread->stack_base() - thread->stack_size()) {
168 if (thread->in_stack_yellow_zone(addr)) {
169 thread->disable_stack_yellow_zone();
172 else if (thread->in_stack_red_zone(addr)) {
173 thread->disable_stack_red_zone();
178 // current thread has MAP_GROWSDOWN stack. This should
179 // only happen when current thread was created by user
182 if (thread->osthread()->expanding_stack() == 0) {
183 thread->osthread()->set_expanding_stack();
184 if (os::Linux::manually_expand_stack(thread, addr)) {
185 thread->osthread()->clear_expanding_stack();
188 thread->osthread()->clear_expanding_stack();
197 /*if (thread->thread_state() == _thread_in_Java) {
200 else*/ if (thread->thread_state() == _thread_in_vm &&
201 sig == SIGBUS && thread->doing_unsafe_access()) {
219 os::is_memory_serialize_page(thread, (address) info->si_addr)) {
220 // Block current thread until permission is restored.
288 // thread stack
360 // The initial thread has a growable stack, and the size reported