< prev index next >

src/hotspot/share/gc/serial/tenuredGeneration.cpp

Print this page

        

@@ -200,11 +200,11 @@
     HeapWord* result = NULL;
     size_t byte_size = word_size * HeapWordSize;
     while (true) {
       expand(byte_size, _min_heap_delta_bytes);
       if (GCExpandToAllocateDelayMillis > 0) {
-        os::sleep(Thread::current(), GCExpandToAllocateDelayMillis, false);
+        os::naked_sleep(GCExpandToAllocateDelayMillis);
       }
       result = _the_space->par_allocate(word_size);
       if ( result != NULL) {
         return result;
       } else {
< prev index next >