< prev index next >

src/hotspot/share/gc/shared/taskqueue.cpp

Print this page

        

*** 132,142 **** os::naked_yield(); } void ParallelTaskTerminator::sleep(uint millis) { assert(_offered_termination <= _n_threads, "Invariant"); ! os::sleep(Thread::current(), millis, false); } bool ParallelTaskTerminator::offer_termination(TerminatorTerminator* terminator) { assert(_n_threads > 0, "Initialization is incorrect"); --- 132,142 ---- os::naked_yield(); } void ParallelTaskTerminator::sleep(uint millis) { assert(_offered_termination <= _n_threads, "Invariant"); ! os::naked_sleep(millis); } bool ParallelTaskTerminator::offer_termination(TerminatorTerminator* terminator) { assert(_n_threads > 0, "Initialization is incorrect");
*** 278,283 **** TaskTerminator::~TaskTerminator() { if (_terminator != NULL) { delete _terminator; } } - --- 278,282 ----
< prev index next >