src/share/vm/memory/sharedHeap.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/memory/sharedHeap.hpp

src/share/vm/memory/sharedHeap.hpp

Print this page
rev 5732 : [mq]: comments2

*** 90,100 **** // to a value > 1 before a task that you would like executed in parallel // and then to set it to 0 after that task has completed. A value of // 0 is a "special" value in set_n_threads() which translates to // setting _n_threads to 1. // ! // Some code uses _n_terminiation to decide if work should be done in // parallel. The notorious possibly_parallel_oops_do() in threads.cpp // is an example of such code. Look for variable "is_par" for other // examples. // // The active_workers is not reset to 0 after a parallel phase. It's --- 90,100 ---- // to a value > 1 before a task that you would like executed in parallel // and then to set it to 0 after that task has completed. A value of // 0 is a "special" value in set_n_threads() which translates to // setting _n_threads to 1. // ! // Some code uses _n_termination to decide if work should be done in // parallel. The notorious possibly_parallel_oops_do() in threads.cpp // is an example of such code. Look for variable "is_par" for other // examples. // // The active_workers is not reset to 0 after a parallel phase. It's
src/share/vm/memory/sharedHeap.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File