hotspot/src/share/vm/runtime/synchronizer.cpp
changeset 46732 05423d4b10d2
parent 46702 13ae789b982e
child 46994 7663ce98384b
equal deleted inserted replaced
46731:71f1b50a1c6c 46732:05423d4b10d2
  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;