src/share/vm/runtime/thread.cpp

Print this page
rev 1178 : merge with cd37471eaecc from http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot


1156   set_vframe_array_head(NULL);
1157   set_vframe_array_last(NULL);
1158   set_deferred_locals(NULL);
1159   set_deopt_mark(NULL);
1160   clear_must_deopt_id();
1161   set_monitor_chunks(NULL);
1162   set_next(NULL);
1163   set_thread_state(_thread_new);
1164   _terminated = _not_terminated;
1165   _privileged_stack_top = NULL;
1166   _array_for_gc = NULL;
1167   _suspend_equivalent = false;
1168   _in_deopt_handler = 0;
1169   _doing_unsafe_access = false;
1170   _stack_guard_state = stack_guard_unused;
1171   _exception_oop = NULL;
1172   _exception_pc  = 0;
1173   _exception_handler_pc = 0;
1174   _exception_stack_size = 0;
1175   _jvmti_thread_state= NULL;

1176   _jvmti_get_loaded_classes_closure = NULL;
1177   _interp_only_mode    = 0;
1178   _special_runtime_exit_condition = _no_async_condition;
1179   _pending_async_exception = NULL;
1180   _is_compiling = false;
1181   _thread_stat = NULL;
1182   _thread_stat = new ThreadStatistics();
1183   _blocked_on_compilation = false;
1184   _jni_active_critical = 0;
1185   _do_not_unlock_if_synchronized = false;
1186   _cached_monitor_info = NULL;
1187   _parker = Parker::Allocate(this) ;
1188 
1189 #ifndef PRODUCT
1190   _jmp_ring_index = 0;
1191   for (int ji = 0 ; ji < jump_ring_buffer_size ; ji++ ) {
1192     record_jump(NULL, NULL, NULL, 0);
1193   }
1194 #endif /* PRODUCT */
1195 




1156   set_vframe_array_head(NULL);
1157   set_vframe_array_last(NULL);
1158   set_deferred_locals(NULL);
1159   set_deopt_mark(NULL);
1160   clear_must_deopt_id();
1161   set_monitor_chunks(NULL);
1162   set_next(NULL);
1163   set_thread_state(_thread_new);
1164   _terminated = _not_terminated;
1165   _privileged_stack_top = NULL;
1166   _array_for_gc = NULL;
1167   _suspend_equivalent = false;
1168   _in_deopt_handler = 0;
1169   _doing_unsafe_access = false;
1170   _stack_guard_state = stack_guard_unused;
1171   _exception_oop = NULL;
1172   _exception_pc  = 0;
1173   _exception_handler_pc = 0;
1174   _exception_stack_size = 0;
1175   _jvmti_thread_state= NULL;
1176   _should_post_on_exceptions_flag = JNI_FALSE;
1177   _jvmti_get_loaded_classes_closure = NULL;
1178   _interp_only_mode    = 0;
1179   _special_runtime_exit_condition = _no_async_condition;
1180   _pending_async_exception = NULL;
1181   _is_compiling = false;
1182   _thread_stat = NULL;
1183   _thread_stat = new ThreadStatistics();
1184   _blocked_on_compilation = false;
1185   _jni_active_critical = 0;
1186   _do_not_unlock_if_synchronized = false;
1187   _cached_monitor_info = NULL;
1188   _parker = Parker::Allocate(this) ;
1189 
1190 #ifndef PRODUCT
1191   _jmp_ring_index = 0;
1192   for (int ji = 0 ; ji < jump_ring_buffer_size ; ji++ ) {
1193     record_jump(NULL, NULL, NULL, 0);
1194   }
1195 #endif /* PRODUCT */
1196