comparison src/share/vm/runtime/safepoint.cpp @ 628:7bb995fbd3c0

Merge
author trims
date Thu, 12 Mar 2009 18:16:36 -0700
parents 0fbdb4381b99 98cb887364d3
children df6caf649ff7
comparison
equal deleted inserted replaced
580:ce2272390558 628:7bb995fbd3c0
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