equal
deleted
inserted
replaced
1668 // each Java thread is processed by exactly one worker thread, and |
1668 // each Java thread is processed by exactly one worker thread, and |
1669 // thus avoid conflicts that would arise when worker threads would |
1669 // thus avoid conflicts that would arise when worker threads would |
1670 // process the same monitor lists concurrently. |
1670 // process the same monitor lists concurrently. |
1671 // |
1671 // |
1672 // See also ParallelSPCleanupTask and |
1672 // See also ParallelSPCleanupTask and |
1673 // SafepointSynchronizer::do_cleanup_tasks() in safepoint.cpp and |
1673 // SafepointSynchronize::do_cleanup_tasks() in safepoint.cpp and |
1674 // Threads::parallel_java_threads_do() in thread.cpp. |
1674 // Threads::parallel_java_threads_do() in thread.cpp. |
1675 int ObjectSynchronizer::deflate_monitor_list(ObjectMonitor** listHeadp, |
1675 int ObjectSynchronizer::deflate_monitor_list(ObjectMonitor** listHeadp, |
1676 ObjectMonitor** freeHeadp, |
1676 ObjectMonitor** freeHeadp, |
1677 ObjectMonitor** freeTailp) { |
1677 ObjectMonitor** freeTailp) { |
1678 ObjectMonitor* mid; |
1678 ObjectMonitor* mid; |