equal
deleted
inserted
replaced
489 |
489 |
490 // We do this after we're done with marking so that the marking data |
490 // We do this after we're done with marking so that the marking data |
491 // structures are initialised to a sensible and predictable state. |
491 // structures are initialised to a sensible and predictable state. |
492 void set_non_marking_state(); |
492 void set_non_marking_state(); |
493 |
493 |
|
494 // Called to indicate how many threads are currently active. |
|
495 void set_concurrency(uint active_tasks); |
|
496 |
494 // It should be called to indicate which phase we're in (concurrent |
497 // It should be called to indicate which phase we're in (concurrent |
495 // mark or remark) and how many threads are currently active. |
498 // mark or remark) and how many threads are currently active. |
496 void set_phase(uint active_tasks, bool concurrent); |
499 void set_concurrency_and_phase(uint active_tasks, bool concurrent); |
497 |
500 |
498 // prints all gathered CM-related statistics |
501 // prints all gathered CM-related statistics |
499 void print_stats(); |
502 void print_stats(); |
500 |
503 |
501 bool cleanup_list_is_empty() { |
504 bool cleanup_list_is_empty() { |