Skip to content

Total promotion can get negative #235

Open
@theobisproject

Description

@theobisproject

GCViewer reports a negative total promotion for this Java 11 G1GC log:
gc.log.gz

I made a quick check and it seems that the updatePromotion in GCModel calculates for some GC Events negative promotion values and adds them to the total promotion.
Maybe a simple >= 0 check will fix the problem if the calculation is correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions