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") |