src/share/vm/runtime/javaCalls.cpp

Print this page

        

*** 370,382 **** intptr_t* result_val_address = (intptr_t*)(result->get_value_addr()); // Find receiver Handle receiver = (!method->is_static()) ? args->receiver() : Handle(); ! // When we reenter Java, we need to reenable the yellow zone which // might already be disabled when we are in VM. ! if (thread->stack_yellow_zone_disabled()) { thread->reguard_stack(); } // Check that there are shadow pages available before changing thread state // to Java --- 370,382 ---- intptr_t* result_val_address = (intptr_t*)(result->get_value_addr()); // Find receiver Handle receiver = (!method->is_static()) ? args->receiver() : Handle(); ! // When we reenter Java, we need to reenable the reserved/yellow zone which // might already be disabled when we are in VM. ! if (!thread->stack_guards_enabled()) { thread->reguard_stack(); } // Check that there are shadow pages available before changing thread state // to Java