equal
deleted
inserted
replaced
1458 // We use ceiling so that if max_survivor_regions_d is > 0.0 (but |
1458 // We use ceiling so that if max_survivor_regions_d is > 0.0 (but |
1459 // smaller than 1.0) we'll get 1. |
1459 // smaller than 1.0) we'll get 1. |
1460 _max_survivor_regions = (uint) ceil(max_survivor_regions_d); |
1460 _max_survivor_regions = (uint) ceil(max_survivor_regions_d); |
1461 |
1461 |
1462 _tenuring_threshold = _survivors_age_table.compute_tenuring_threshold( |
1462 _tenuring_threshold = _survivors_age_table.compute_tenuring_threshold( |
1463 HeapRegion::GrainWords * _max_survivor_regions); |
1463 HeapRegion::GrainWords * _max_survivor_regions, counters()); |
1464 } |
1464 } |
1465 |
1465 |
1466 bool G1CollectorPolicy::force_initial_mark_if_outside_cycle( |
1466 bool G1CollectorPolicy::force_initial_mark_if_outside_cycle( |
1467 GCCause::Cause gc_cause) { |
1467 GCCause::Cause gc_cause) { |
1468 bool during_cycle = _g1->concurrent_mark()->cmThread()->during_cycle(); |
1468 bool during_cycle = _g1->concurrent_mark()->cmThread()->during_cycle(); |