JDK 19 |
---|
19Unresolved |
Relates :
|
The following if statement in the do_heap_region function of G1PruneRegionClosure: > if (_num_pruned > _max_pruned || > _cur_wasted + reclaimable > _max_wasted) { > return true; > } should be >=, otherwise one too many region than intended will be added. Impact is limited, as the pruning is an inherently inexact and conservative heuristics driven process. Reported by Tianqi Xia (https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2022-May/039287.html)
|