mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
8140508: Add utility method for logging phases to G1CollectorPolicy
Reviewed-by: mgerdin, tschatzl
This commit is contained in:
parent
4930637288
commit
d8b7d0ecd4
5 changed files with 11 additions and 3 deletions
|
@ -362,6 +362,8 @@ class G1GCParPhasePrinter : public StackObj {
|
|||
};
|
||||
|
||||
void G1GCPhaseTimes::print(double pause_time_sec) {
|
||||
note_gc_end();
|
||||
|
||||
G1GCParPhasePrinter par_phase_printer(this);
|
||||
|
||||
if (_root_region_scan_wait_time_ms > 0.0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue