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

changeset 3667
21595f05bc93
parent 3539
a9647476d1a4
child 3689
500023bd0818
equal deleted inserted replaced
3666:64bf7c8270cb 3667:21595f05bc93
2606 return false; 2606 return false;
2607 } 2607 }
2608 size_t reclaimable_bytes = cset_chooser->remainingReclaimableBytes(); 2608 size_t reclaimable_bytes = cset_chooser->remainingReclaimableBytes();
2609 size_t capacity_bytes = _g1->capacity(); 2609 size_t capacity_bytes = _g1->capacity();
2610 double perc = (double) reclaimable_bytes * 100.0 / (double) capacity_bytes; 2610 double perc = (double) reclaimable_bytes * 100.0 / (double) capacity_bytes;
2611 double threshold = (double) G1OldReclaimableThresholdPercent; 2611 double threshold = (double) G1HeapWastePercent;
2612 if (perc < threshold) { 2612 if (perc < threshold) {
2613 ergo_verbose4(ErgoMixedGCs, 2613 ergo_verbose4(ErgoMixedGCs,
2614 false_action_str, 2614 false_action_str,
2615 ergo_format_reason("reclaimable percentage lower than threshold") 2615 ergo_format_reason("reclaimable percentage lower than threshold")
2616 ergo_format_region("candidate old regions") 2616 ergo_format_region("candidate old regions")

mercurial