comparison src/hotspot/share/runtime/safepoint.cpp @ 53640:bbfa1b3aaf7e

8212108: SafepointSynchronizer never ending counter (big enough) Reviewed-by: dholmes, eosterlund
author rehn
date Fri, 23 Nov 2018 10:43:18 +0100
parents 639a3e43f5b7
children e7fdc9d9c376
comparison
equal deleted inserted replaced
24:7c6dc1d98630 25:6a808e7acc33
139 // -------------------------------------------------------------------------------------------------- 139 // --------------------------------------------------------------------------------------------------
140 // Implementation of Safepoint begin/end 140 // Implementation of Safepoint begin/end
141 141
142 SafepointSynchronize::SynchronizeState volatile SafepointSynchronize::_state = SafepointSynchronize::_not_synchronized; 142 SafepointSynchronize::SynchronizeState volatile SafepointSynchronize::_state = SafepointSynchronize::_not_synchronized;
143 volatile int SafepointSynchronize::_waiting_to_block = 0; 143 volatile int SafepointSynchronize::_waiting_to_block = 0;
144 volatile int SafepointSynchronize::_safepoint_counter = 0; 144 volatile uint64_t SafepointSynchronize::_safepoint_counter = 0;
145 int SafepointSynchronize::_current_jni_active_count = 0; 145 int SafepointSynchronize::_current_jni_active_count = 0;
146 long SafepointSynchronize::_end_of_last_safepoint = 0; 146 long SafepointSynchronize::_end_of_last_safepoint = 0;
147 int SafepointSynchronize::_defer_thr_suspend_loop_count = 4000; 147 int SafepointSynchronize::_defer_thr_suspend_loop_count = 4000;
148 static const int safepoint_spin_before_yield = 2000; 148 static const int safepoint_spin_before_yield = 2000;
149 static volatile int PageArmed = 0 ; // safepoint polling page is RO|RW vs PROT_NONE 149 static volatile int PageArmed = 0 ; // safepoint polling page is RO|RW vs PROT_NONE