equal
deleted
inserted
replaced
28 |
28 |
29 class ShenandoahWorkerPolicy : AllStatic { |
29 class ShenandoahWorkerPolicy : AllStatic { |
30 private: |
30 private: |
31 static uint _prev_par_marking; |
31 static uint _prev_par_marking; |
32 static uint _prev_conc_marking; |
32 static uint _prev_conc_marking; |
|
33 static uint _prev_conc_root_proc; |
33 static uint _prev_conc_evac; |
34 static uint _prev_conc_evac; |
34 static uint _prev_fullgc; |
35 static uint _prev_fullgc; |
35 static uint _prev_degengc; |
36 static uint _prev_degengc; |
36 static uint _prev_stw_traversal; |
37 static uint _prev_stw_traversal; |
37 static uint _prev_conc_traversal; |
38 static uint _prev_conc_traversal; |
47 // Calculate the number of workers for concurrent marking |
48 // Calculate the number of workers for concurrent marking |
48 static uint calc_workers_for_conc_marking(); |
49 static uint calc_workers_for_conc_marking(); |
49 |
50 |
50 // Calculate the number of workers for final marking |
51 // Calculate the number of workers for final marking |
51 static uint calc_workers_for_final_marking(); |
52 static uint calc_workers_for_final_marking(); |
|
53 |
|
54 // Calculate workers for concurrent root processing |
|
55 static uint calc_workers_for_conc_root_processing(); |
52 |
56 |
53 // Calculate workers for concurrent evacuation (concurrent GC) |
57 // Calculate workers for concurrent evacuation (concurrent GC) |
54 static uint calc_workers_for_conc_evac(); |
58 static uint calc_workers_for_conc_evac(); |
55 |
59 |
56 // Calculate workers for parallel full gc |
60 // Calculate workers for parallel full gc |