equal
deleted
inserted
replaced
367 tty->print_cr("Leaving safepoint region"); |
367 tty->print_cr("Leaving safepoint region"); |
368 } |
368 } |
369 |
369 |
370 // Start suspended threads |
370 // Start suspended threads |
371 for(JavaThread *current = Threads::first(); current; current = current->next()) { |
371 for(JavaThread *current = Threads::first(); current; current = current->next()) { |
372 // A problem occuring on Solaris is when attempting to restart threads |
372 // A problem occurring on Solaris is when attempting to restart threads |
373 // the first #cpus - 1 go well, but then the VMThread is preempted when we get |
373 // the first #cpus - 1 go well, but then the VMThread is preempted when we get |
374 // to the next one (since it has been running the longest). We then have |
374 // to the next one (since it has been running the longest). We then have |
375 // to wait for a cpu to become available before we can continue restarting |
375 // to wait for a cpu to become available before we can continue restarting |
376 // threads. |
376 // threads. |
377 // FIXME: This causes the performance of the VM to degrade when active and with |
377 // FIXME: This causes the performance of the VM to degrade when active and with |