We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98bb26a commit ce5a9a3Copy full SHA for ce5a9a3
analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/GCModel.java
@@ -659,7 +659,7 @@ private void calculateEventsMemoryInfo() {
659
if (youngReduction != Constant.UNKNOWN_INT && totalReduction != Constant.UNKNOWN_INT) {
660
long promotion = youngReduction - totalReduction;
661
if (humongous != null && humongous.getMemoryReduction() != Constant.UNKNOWN_INT) {
662
- promotion -= humongous.getMemoryReduction();
+ promotion += humongous.getMemoryReduction();
663
}
664
event.setPromotion(zeroIfNegative(promotion));
665
0 commit comments