1.1 --- a/src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp Mon Mar 17 15:18:45 2014 +0100 1.2 +++ b/src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp Mon Mar 24 15:30:14 2014 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2013, 2014 Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -131,6 +131,7 @@ 1.11 double _cur_collection_par_time_ms; 1.12 double _cur_collection_code_root_fixup_time_ms; 1.13 double _cur_strong_code_root_migration_time_ms; 1.14 + double _cur_strong_code_root_purge_time_ms; 1.15 1.16 double _cur_clear_ct_time_ms; 1.17 double _cur_ref_proc_time_ms; 1.18 @@ -223,6 +224,10 @@ 1.19 _cur_strong_code_root_migration_time_ms = ms; 1.20 } 1.21 1.22 + void record_strong_code_root_purge_time(double ms) { 1.23 + _cur_strong_code_root_purge_time_ms = ms; 1.24 + } 1.25 + 1.26 void record_ref_proc_time(double ms) { 1.27 _cur_ref_proc_time_ms = ms; 1.28 }