hotspot/src/share/vm/runtime/safepoint.cpp
changeset 2131 98f9cef66a34
parent 1889 24b003a6fe46
child 2154 72a9b7284ccf
equal deleted inserted replaced
2130:f935aa562118 2131:98f9cef66a34
   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