< prev index next >

src/share/vm/gc/g1/g1CollectorPolicy.cpp

Print this page
rev 9431 : dihop-changes
rev 9433 : imported patch erik-jmasa-review
rev 9434 : imported patch fix-evac-failure-needs-stats
rev 9435 : [mq]: mikael-erik-review

*** 150,160 **** _recorded_survivor_tail(NULL), _survivors_age_table(true), _gc_overhead_perc(0.0), ! _last_old_allocated_bytes(0), _ihop_control(NULL), _initial_mark_to_mixed() { // SurvRateGroups below must be initialized after the predictor because they // indirectly use it through this object passed to their constructor. --- 150,160 ---- _recorded_survivor_tail(NULL), _survivors_age_table(true), _gc_overhead_perc(0.0), ! _bytes_allocated_in_old_since_last_gc(0), _ihop_control(NULL), _initial_mark_to_mixed() { // SurvRateGroups below must be initialized after the predictor because they // indirectly use it through this object passed to their constructor.
*** 854,864 **** _survivor_surv_rate_group->reset(); update_young_list_max_and_target_length(); update_rs_lengths_prediction(); _collectionSetChooser->clear(); ! _last_old_allocated_bytes = 0; record_pause(FullGC, _full_collection_start_sec, end_sec); } void G1CollectorPolicy::record_stop_world_start() { --- 854,864 ---- _survivor_surv_rate_group->reset(); update_young_list_max_and_target_length(); update_rs_lengths_prediction(); _collectionSetChooser->clear(); ! _bytes_allocated_in_old_since_last_gc = 0; record_pause(FullGC, _full_collection_start_sec, end_sec); } void G1CollectorPolicy::record_stop_world_start() {
*** 1208,1220 **** // predicted target occupancy. size_t last_unrestrained_young_length = update_young_list_max_and_target_length(); update_rs_lengths_prediction(); update_ihop_prediction(app_time_ms / 1000.0, ! _last_old_allocated_bytes, last_unrestrained_young_length * HeapRegion::GrainBytes); ! _last_old_allocated_bytes = 0; // Note that _mmu_tracker->max_gc_time() returns the time in seconds. double update_rs_time_goal_ms = _mmu_tracker->max_gc_time() * MILLIUNITS * G1RSetUpdatingPauseTimePercent / 100.0; double scan_hcc_time_ms = average_time_ms(G1GCPhaseTimes::ScanHCC); --- 1208,1220 ---- // predicted target occupancy. size_t last_unrestrained_young_length = update_young_list_max_and_target_length(); update_rs_lengths_prediction(); update_ihop_prediction(app_time_ms / 1000.0, ! _bytes_allocated_in_old_since_last_gc, last_unrestrained_young_length * HeapRegion::GrainBytes); ! _bytes_allocated_in_old_since_last_gc = 0; // Note that _mmu_tracker->max_gc_time() returns the time in seconds. double update_rs_time_goal_ms = _mmu_tracker->max_gc_time() * MILLIUNITS * G1RSetUpdatingPauseTimePercent / 100.0; double scan_hcc_time_ms = average_time_ms(G1GCPhaseTimes::ScanHCC);
< prev index next >