src/share/vm/runtime/safepoint.cpp

changeset 1040
98cb887364d3
parent 948
2328d1d3f8cf
child 1063
7bb995fbd3c0
equal deleted inserted replaced
1039:ec59443af135 1040:98cb887364d3
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

mercurial