Mercurial > hg > graal-compiler
comparison src/share/vm/memory/genCollectedHeap.cpp @ 1833:8b10f48633dc
6984287: Regularize how GC parallel workers are specified.
Summary: Associate number of GC workers with the workgang as opposed to the task.
Reviewed-by: johnc, ysr
author | jmasa |
---|---|
date | Mon, 20 Sep 2010 14:38:38 -0700 |
parents | 126ea7725993 |
children | a7214d79fcf1 |
comparison
equal
deleted
inserted
replaced
1781:97fbf5beff7b | 1833:8b10f48633dc |
---|---|
674 return collector_policy()->satisfy_failed_allocation(size, is_tlab); | 674 return collector_policy()->satisfy_failed_allocation(size, is_tlab); |
675 } | 675 } |
676 | 676 |
677 void GenCollectedHeap::set_par_threads(int t) { | 677 void GenCollectedHeap::set_par_threads(int t) { |
678 SharedHeap::set_par_threads(t); | 678 SharedHeap::set_par_threads(t); |
679 _gen_process_strong_tasks->set_par_threads(t); | 679 _gen_process_strong_tasks->set_n_threads(t); |
680 } | 680 } |
681 | 681 |
682 class AssertIsPermClosure: public OopClosure { | 682 class AssertIsPermClosure: public OopClosure { |
683 public: | 683 public: |
684 void do_oop(oop* p) { | 684 void do_oop(oop* p) { |