< prev index next >
src/share/vm/gc/g1/g1GCPhaseTimes.hpp
Print this page
rev 11593 : imported patch 8034842-par-free-cset-old
@@ -65,10 +65,12 @@
GCWorkerEnd,
StringDedupQueueFixup,
StringDedupTableFixup,
RedirtyCards,
PreserveCMReferents,
+ YoungFreeCSet,
+ NonYoungFreeCSet,
GCParPhasesSentinel
};
private:
// Markers for grouping the phases in the GCPhases enum above
@@ -108,12 +110,13 @@
double _recorded_preserve_cm_referents_time_ms;
double _recorded_merge_pss_time_ms;
- double _recorded_young_free_cset_time_ms;
- double _recorded_non_young_free_cset_time_ms;
+ double _recorded_total_free_cset_time_ms;
+
+ double _recorded_serial_free_cset_time_ms;
double _cur_fast_reclaim_humongous_time_ms;
double _cur_fast_reclaim_humongous_register_time_ms;
size_t _cur_fast_reclaim_humongous_total;
size_t _cur_fast_reclaim_humongous_candidates;
@@ -197,16 +200,16 @@
void record_root_region_scan_wait_time(double time_ms) {
_root_region_scan_wait_time_ms = time_ms;
}
- void record_young_free_cset_time_ms(double time_ms) {
- _recorded_young_free_cset_time_ms = time_ms;
+ void record_total_free_cset_time_ms(double time_ms) {
+ _recorded_total_free_cset_time_ms = time_ms;
}
- void record_non_young_free_cset_time_ms(double time_ms) {
- _recorded_non_young_free_cset_time_ms = time_ms;
+ void record_serial_free_cset_time_ms(double time_ms) {
+ _recorded_serial_free_cset_time_ms = time_ms;
}
void record_fast_reclaim_humongous_stats(double time_ms, size_t total, size_t candidates) {
_cur_fast_reclaim_humongous_register_time_ms = time_ms;
_cur_fast_reclaim_humongous_total = total;
@@ -276,22 +279,18 @@
double young_cset_choice_time_ms() {
return _recorded_young_cset_choice_time_ms;
}
- double young_free_cset_time_ms() {
- return _recorded_young_free_cset_time_ms;
+ double total_free_cset_time_ms() {
+ return _recorded_total_free_cset_time_ms;
}
double non_young_cset_choice_time_ms() {
return _recorded_non_young_cset_choice_time_ms;
}
- double non_young_free_cset_time_ms() {
- return _recorded_non_young_free_cset_time_ms;
- }
-
double fast_reclaim_humongous_time_ms() {
return _cur_fast_reclaim_humongous_time_ms;
}
};
< prev index next >