comparison src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp @ 3764:053d84a76d3d

7032531: G1: enhance GC logging to include more accurate eden / survivor size transitions Summary: This changeset extends the logging information generated by +PrintGCDetails to also print out separate size transitions for the eden, survivors, and old regions. Reviewed-by: ysr, brutisso
author tonyp
date Wed, 08 Jun 2011 15:31:51 -0400
parents 5c0b591e1074
children 14a2fd14c0db
comparison
equal deleted inserted replaced
3763:e66f38dd58a9 3764:053d84a76d3d
889 889
890 virtual void record_collection_pause_end_CH_strong_roots(); 890 virtual void record_collection_pause_end_CH_strong_roots();
891 virtual void record_collection_pause_end_G1_strong_roots(); 891 virtual void record_collection_pause_end_G1_strong_roots();
892 892
893 virtual void record_collection_pause_end(); 893 virtual void record_collection_pause_end();
894 void print_heap_transition();
894 895
895 // Record the fact that a full collection occurred. 896 // Record the fact that a full collection occurred.
896 virtual void record_full_collection_start(); 897 virtual void record_full_collection_start();
897 virtual void record_full_collection_end(); 898 virtual void record_full_collection_end();
898 899
1176 // maximum amount of suvivors regions. 1177 // maximum amount of suvivors regions.
1177 int _tenuring_threshold; 1178 int _tenuring_threshold;
1178 1179
1179 // The limit on the number of regions allocated for survivors. 1180 // The limit on the number of regions allocated for survivors.
1180 size_t _max_survivor_regions; 1181 size_t _max_survivor_regions;
1182
1183 // For reporting purposes.
1184 size_t _eden_bytes_before_gc;
1185 size_t _survivor_bytes_before_gc;
1186 size_t _capacity_before_gc;
1181 1187
1182 // The amount of survor regions after a collection. 1188 // The amount of survor regions after a collection.
1183 size_t _recorded_survivor_regions; 1189 size_t _recorded_survivor_regions;
1184 // List of survivor regions. 1190 // List of survivor regions.
1185 HeapRegion* _recorded_survivor_head; 1191 HeapRegion* _recorded_survivor_head;