644 // Must currently be called while the world is stopped.
645 void record_concurrent_mark_init_end(double mark_init_elapsed_time_ms);
646
647 // Record start and end of remark.
648 void record_concurrent_mark_remark_start();
649 void record_concurrent_mark_remark_end();
650
651 // Record start, end, and completion of cleanup.
652 void record_concurrent_mark_cleanup_start();
653 void record_concurrent_mark_cleanup_end();
654 void record_concurrent_mark_cleanup_completed();
655
656 // Records the information about the heap size for reporting in
657 // print_detailed_heap_transition
658 void record_heap_size_info_at_start(bool full);
659
660 // Print heap sizing transition (with less and more detail).
661
662 void print_detailed_heap_transition() const;
663
664 virtual void print_phases(double pause_time_sec);
665
666 void record_stop_world_start();
667 void record_concurrent_pause();
668
669 // Record how much space we copied during a GC. This is typically
670 // called when a GC alloc region is being retired.
671 void record_bytes_copied_during_gc(size_t bytes) {
672 _bytes_copied_during_gc += bytes;
673 }
674
675 // The amount of space we copied during a GC.
676 size_t bytes_copied_during_gc() const {
677 return _bytes_copied_during_gc;
678 }
679
680 size_t collection_set_bytes_used_before() const {
681 return _collection_set_bytes_used_before;
682 }
683
684 // Determine whether there are candidate regions so that the
|
644 // Must currently be called while the world is stopped.
645 void record_concurrent_mark_init_end(double mark_init_elapsed_time_ms);
646
647 // Record start and end of remark.
648 void record_concurrent_mark_remark_start();
649 void record_concurrent_mark_remark_end();
650
651 // Record start, end, and completion of cleanup.
652 void record_concurrent_mark_cleanup_start();
653 void record_concurrent_mark_cleanup_end();
654 void record_concurrent_mark_cleanup_completed();
655
656 // Records the information about the heap size for reporting in
657 // print_detailed_heap_transition
658 void record_heap_size_info_at_start(bool full);
659
660 // Print heap sizing transition (with less and more detail).
661
662 void print_detailed_heap_transition() const;
663
664 virtual void print_phases(double pause_time_ms);
665
666 void record_stop_world_start();
667 void record_concurrent_pause();
668
669 // Record how much space we copied during a GC. This is typically
670 // called when a GC alloc region is being retired.
671 void record_bytes_copied_during_gc(size_t bytes) {
672 _bytes_copied_during_gc += bytes;
673 }
674
675 // The amount of space we copied during a GC.
676 size_t bytes_copied_during_gc() const {
677 return _bytes_copied_during_gc;
678 }
679
680 size_t collection_set_bytes_used_before() const {
681 return _collection_set_bytes_used_before;
682 }
683
684 // Determine whether there are candidate regions so that the
|