1 /* |
1 /* |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2014 Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
248 misc_time_ms += _cur_collection_code_root_fixup_time_ms; |
248 misc_time_ms += _cur_collection_code_root_fixup_time_ms; |
249 |
249 |
250 // Strong code root migration time |
250 // Strong code root migration time |
251 misc_time_ms += _cur_strong_code_root_migration_time_ms; |
251 misc_time_ms += _cur_strong_code_root_migration_time_ms; |
252 |
252 |
|
253 // Strong code root purge time |
|
254 misc_time_ms += _cur_strong_code_root_purge_time_ms; |
|
255 |
253 // Subtract the time taken to clean the card table from the |
256 // Subtract the time taken to clean the card table from the |
254 // current value of "other time" |
257 // current value of "other time" |
255 misc_time_ms += _cur_clear_ct_time_ms; |
258 misc_time_ms += _cur_clear_ct_time_ms; |
256 |
259 |
257 return misc_time_ms; |
260 return misc_time_ms; |
297 _last_strong_code_root_scan_times_ms.print(1, "Code Root Scanning (ms)"); |
300 _last_strong_code_root_scan_times_ms.print(1, "Code Root Scanning (ms)"); |
298 _last_obj_copy_times_ms.print(1, "Object Copy (ms)"); |
301 _last_obj_copy_times_ms.print(1, "Object Copy (ms)"); |
299 } |
302 } |
300 print_stats(1, "Code Root Fixup", _cur_collection_code_root_fixup_time_ms); |
303 print_stats(1, "Code Root Fixup", _cur_collection_code_root_fixup_time_ms); |
301 print_stats(1, "Code Root Migration", _cur_strong_code_root_migration_time_ms); |
304 print_stats(1, "Code Root Migration", _cur_strong_code_root_migration_time_ms); |
|
305 print_stats(1, "Code Root Purge", _cur_strong_code_root_purge_time_ms); |
302 print_stats(1, "Clear CT", _cur_clear_ct_time_ms); |
306 print_stats(1, "Clear CT", _cur_clear_ct_time_ms); |
303 double misc_time_ms = pause_time_sec * MILLIUNITS - accounted_time_ms(); |
307 double misc_time_ms = pause_time_sec * MILLIUNITS - accounted_time_ms(); |
304 print_stats(1, "Other", misc_time_ms); |
308 print_stats(1, "Other", misc_time_ms); |
305 if (_cur_verify_before_time_ms > 0.0) { |
309 if (_cur_verify_before_time_ms > 0.0) { |
306 print_stats(2, "Verify Before", _cur_verify_before_time_ms); |
310 print_stats(2, "Verify Before", _cur_verify_before_time_ms); |