< prev index next >

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

Print this page

        

@@ -132,11 +132,11 @@
   os::naked_yield();
 }
 
 void ParallelTaskTerminator::sleep(uint millis) {
   assert(_offered_termination <= _n_threads, "Invariant");
-  os::sleep(Thread::current(), millis, false);
+  os::naked_sleep(millis);
 }
 
 bool
 ParallelTaskTerminator::offer_termination(TerminatorTerminator* terminator) {
   assert(_n_threads > 0, "Initialization is incorrect");

@@ -278,6 +278,5 @@
 TaskTerminator::~TaskTerminator() {
   if (_terminator != NULL) {
     delete _terminator;
   }
 }
-
< prev index next >