< prev index next >

src/hotspot/share/runtime/thread.cpp

Print this page
rev 54612 : Checkpoint latest preliminary review patches for full OpenJDK review; merge with 8222295.patch.


 249   new HandleMark(this);
 250 
 251   // plain initialization
 252   debug_only(_owned_locks = NULL;)
 253   debug_only(_allow_allocation_count = 0;)
 254   NOT_PRODUCT(_allow_safepoint_count = 0;)
 255   NOT_PRODUCT(_skip_gcalot = false;)
 256   _jvmti_env_iteration_count = 0;
 257   set_allocated_bytes(0);
 258   _vm_operation_started_count = 0;
 259   _vm_operation_completed_count = 0;
 260   _current_pending_monitor = NULL;
 261   _current_pending_monitor_is_from_java = true;
 262   _current_waiting_monitor = NULL;
 263   _num_nested_signal = 0;
 264   omFreeList = NULL;
 265   omFreeCount = 0;
 266   omFreeProvision = 32;
 267   omInUseList = NULL;
 268   omInUseCount = 0;

 269 
 270 #ifdef ASSERT
 271   _visited_for_critical_count = false;
 272 #endif
 273 
 274   _SR_lock = new Monitor(Mutex::suspend_resume, "SR_lock", true,
 275                          Monitor::_safepoint_check_sometimes);
 276   _suspend_flags = 0;
 277 
 278   // thread-specific hashCode stream generator state - Marsaglia shift-xor form
 279   _hashStateX = os::random();
 280   _hashStateY = 842502087;
 281   _hashStateZ = 0x8767;    // (int)(3579807591LL & 0xffff) ;
 282   _hashStateW = 273326509;
 283 
 284   _OnTrap   = 0;
 285   _Stalled  = 0;
 286   _TypeTag  = 0x2BAD;
 287 
 288   // Many of the following fields are effectively final - immutable




 249   new HandleMark(this);
 250 
 251   // plain initialization
 252   debug_only(_owned_locks = NULL;)
 253   debug_only(_allow_allocation_count = 0;)
 254   NOT_PRODUCT(_allow_safepoint_count = 0;)
 255   NOT_PRODUCT(_skip_gcalot = false;)
 256   _jvmti_env_iteration_count = 0;
 257   set_allocated_bytes(0);
 258   _vm_operation_started_count = 0;
 259   _vm_operation_completed_count = 0;
 260   _current_pending_monitor = NULL;
 261   _current_pending_monitor_is_from_java = true;
 262   _current_waiting_monitor = NULL;
 263   _num_nested_signal = 0;
 264   omFreeList = NULL;
 265   omFreeCount = 0;
 266   omFreeProvision = 32;
 267   omInUseList = NULL;
 268   omInUseCount = 0;
 269   omShouldDeflateIdleMonitors = false;
 270 
 271 #ifdef ASSERT
 272   _visited_for_critical_count = false;
 273 #endif
 274 
 275   _SR_lock = new Monitor(Mutex::suspend_resume, "SR_lock", true,
 276                          Monitor::_safepoint_check_sometimes);
 277   _suspend_flags = 0;
 278 
 279   // thread-specific hashCode stream generator state - Marsaglia shift-xor form
 280   _hashStateX = os::random();
 281   _hashStateY = 842502087;
 282   _hashStateZ = 0x8767;    // (int)(3579807591LL & 0xffff) ;
 283   _hashStateW = 273326509;
 284 
 285   _OnTrap   = 0;
 286   _Stalled  = 0;
 287   _TypeTag  = 0x2BAD;
 288 
 289   // Many of the following fields are effectively final - immutable


< prev index next >