src/share/vm/utilities/taskqueue.cpp

changeset 3156
f08d439fab8c
parent 2314
f95d63e2154a
child 4299
f34d701e952e
equal deleted inserted replaced
3155:eda6988c0d81 3156:f08d439fab8c
34 #ifdef TARGET_OS_FAMILY_solaris 34 #ifdef TARGET_OS_FAMILY_solaris
35 # include "thread_solaris.inline.hpp" 35 # include "thread_solaris.inline.hpp"
36 #endif 36 #endif
37 #ifdef TARGET_OS_FAMILY_windows 37 #ifdef TARGET_OS_FAMILY_windows
38 # include "thread_windows.inline.hpp" 38 # include "thread_windows.inline.hpp"
39 #endif
40 #ifdef TARGET_OS_FAMILY_bsd
41 # include "thread_bsd.inline.hpp"
39 #endif 42 #endif
40 43
41 #ifdef TRACESPINNING 44 #ifdef TRACESPINNING
42 uint ParallelTaskTerminator::_total_yields = 0; 45 uint ParallelTaskTerminator::_total_yields = 0;
43 uint ParallelTaskTerminator::_total_spins = 0; 46 uint ParallelTaskTerminator::_total_spins = 0;
272 275
273 void ParallelTaskTerminator::reset_for_reuse(int n_threads) { 276 void ParallelTaskTerminator::reset_for_reuse(int n_threads) {
274 reset_for_reuse(); 277 reset_for_reuse();
275 _n_threads = n_threads; 278 _n_threads = n_threads;
276 } 279 }
277

mercurial