Skip to content

GC sometimes reports survival rates above 100% #100594

@markples

Description

@markples

Easiest repro is to only allocate large objects - gcperfsim -tc 36 -tagb 100 -tlgb 0 -lohar 1000 -pohar 0 -sohsr 100-4000 -lohsr 16002400-16004800 -pohsr 100-204800 -sohsi 0 -lohsi 0 -pohsi 0 -sohpi 0 -lohpi 0 -sohfi 0 -lohfi 0 -pohfi 0 -allocType reference -testKind time - but this requires a separate gcperfsim fix.

This is due to allocations occurring during BGC. They are counted as survived but not at the start (i.e., in the numerator but not the denominator). It looks like inaccuracies are possible for all generations, but it easiest to expose it as >100% with large objects.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions