Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp @ 17753:191174b49bec
8035406: Improve data structure for Code Cache remembered sets
Summary: Change the code cache remembered sets data structure from a GrowableArray to a chunked list of nmethods. This makes the data structure more amenable to parallelization, and decreases freeing time.
Reviewed-by: mgerdin, brutisso
author | tschatzl |
---|---|
date | Mon, 24 Mar 2014 15:30:14 +0100 |
parents | 5888334c9c24 |
children | a07bea31ef35 |
comparison
equal
deleted
inserted
replaced
17750:f53edbc2b728 | 17753:191174b49bec |
---|---|
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. |
129 WorkerDataArray<double> _last_gc_worker_other_times_ms; | 129 WorkerDataArray<double> _last_gc_worker_other_times_ms; |
130 | 130 |
131 double _cur_collection_par_time_ms; | 131 double _cur_collection_par_time_ms; |
132 double _cur_collection_code_root_fixup_time_ms; | 132 double _cur_collection_code_root_fixup_time_ms; |
133 double _cur_strong_code_root_migration_time_ms; | 133 double _cur_strong_code_root_migration_time_ms; |
134 double _cur_strong_code_root_purge_time_ms; | |
134 | 135 |
135 double _cur_clear_ct_time_ms; | 136 double _cur_clear_ct_time_ms; |
136 double _cur_ref_proc_time_ms; | 137 double _cur_ref_proc_time_ms; |
137 double _cur_ref_enq_time_ms; | 138 double _cur_ref_enq_time_ms; |
138 | 139 |
221 | 222 |
222 void record_strong_code_root_migration_time(double ms) { | 223 void record_strong_code_root_migration_time(double ms) { |
223 _cur_strong_code_root_migration_time_ms = ms; | 224 _cur_strong_code_root_migration_time_ms = ms; |
224 } | 225 } |
225 | 226 |
227 void record_strong_code_root_purge_time(double ms) { | |
228 _cur_strong_code_root_purge_time_ms = ms; | |
229 } | |
230 | |
226 void record_ref_proc_time(double ms) { | 231 void record_ref_proc_time(double ms) { |
227 _cur_ref_proc_time_ms = ms; | 232 _cur_ref_proc_time_ms = ms; |
228 } | 233 } |
229 | 234 |
230 void record_ref_enq_time(double ms) { | 235 void record_ref_enq_time(double ms) { |