< prev index next >

src/hotspot/share/runtime/thread.cpp

Print this page




1633 // A JavaThread is a normal Java thread
1634 
1635 void JavaThread::initialize() {
1636   // Initialize fields
1637 
1638   set_saved_exception_pc(NULL);
1639   set_threadObj(NULL);
1640   _anchor.clear();
1641   set_entry_point(NULL);
1642   set_jni_functions(jni_functions());
1643   set_callee_target(NULL);
1644   set_vm_result(NULL);
1645   set_vm_result_2(NULL);
1646   set_vframe_array_head(NULL);
1647   set_vframe_array_last(NULL);
1648   set_deferred_locals(NULL);
1649   set_deopt_mark(NULL);
1650   set_deopt_compiled_method(NULL);
1651   set_monitor_chunks(NULL);
1652   _on_thread_list = false;
1653   set_thread_state(_thread_new);
1654   _terminated = _not_terminated;
1655   _array_for_gc = NULL;
1656   _suspend_equivalent = false;
1657   _in_deopt_handler = 0;
1658   _doing_unsafe_access = false;
1659   _stack_guard_state = stack_guard_unused;
1660 #if INCLUDE_JVMCI
1661   _pending_monitorenter = false;
1662   _pending_deoptimization = -1;
1663   _pending_failed_speculation = 0;
1664   _pending_transfer_to_interpreter = false;
1665   _in_retryable_allocation = false;
1666   _jvmci._alternate_call_target = NULL;
1667   assert(_jvmci._implicit_exception_pc == NULL, "must be");
1668   _jvmci_counters = NULL;
1669   if (JVMCICounterSize > 0) {
1670     resize_counters(0, (int) JVMCICounterSize);
1671   }
1672 #endif // INCLUDE_JVMCI
1673   _reserved_stack_activation = NULL;  // stack base not known yet




1633 // A JavaThread is a normal Java thread
1634 
1635 void JavaThread::initialize() {
1636   // Initialize fields
1637 
1638   set_saved_exception_pc(NULL);
1639   set_threadObj(NULL);
1640   _anchor.clear();
1641   set_entry_point(NULL);
1642   set_jni_functions(jni_functions());
1643   set_callee_target(NULL);
1644   set_vm_result(NULL);
1645   set_vm_result_2(NULL);
1646   set_vframe_array_head(NULL);
1647   set_vframe_array_last(NULL);
1648   set_deferred_locals(NULL);
1649   set_deopt_mark(NULL);
1650   set_deopt_compiled_method(NULL);
1651   set_monitor_chunks(NULL);
1652   _on_thread_list = false;
1653   _thread_state = _thread_new;
1654   _terminated = _not_terminated;
1655   _array_for_gc = NULL;
1656   _suspend_equivalent = false;
1657   _in_deopt_handler = 0;
1658   _doing_unsafe_access = false;
1659   _stack_guard_state = stack_guard_unused;
1660 #if INCLUDE_JVMCI
1661   _pending_monitorenter = false;
1662   _pending_deoptimization = -1;
1663   _pending_failed_speculation = 0;
1664   _pending_transfer_to_interpreter = false;
1665   _in_retryable_allocation = false;
1666   _jvmci._alternate_call_target = NULL;
1667   assert(_jvmci._implicit_exception_pc == NULL, "must be");
1668   _jvmci_counters = NULL;
1669   if (JVMCICounterSize > 0) {
1670     resize_counters(0, (int) JVMCICounterSize);
1671   }
1672 #endif // INCLUDE_JVMCI
1673   _reserved_stack_activation = NULL;  // stack base not known yet


< prev index next >