Mercurial > hg > truffle
comparison src/share/vm/runtime/safepoint.cpp @ 605:98cb887364d3
6810672: Comment typos
Summary: I have collected some typos I have found while looking at the code.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Fri, 27 Feb 2009 13:27:09 -0800 |
parents | 2328d1d3f8cf |
children | 7bb995fbd3c0 |
comparison
equal
deleted
inserted
replaced
604:ec59443af135 | 605: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 |