Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Teo Camarasu's avatar
    bedb4f0d
    nonmoving: Add support for heap profiling · bedb4f0d
    Teo Camarasu authored and Marge Bot's avatar Marge Bot committed
    Add support for heap profiling while using the nonmoving collector.
    
    We greatly simply the implementation by disabling concurrent collection for
    GCs when heap profiling is enabled. This entails that the marked objects on
    the nonmoving heap are exactly the live objects.
    
    Note that we match the behaviour for live bytes accounting by taking the size
    of objects on the nonmoving heap to be that of the segment's block
    rather than the object itself.
    
    Resolves #22221
    bedb4f0d
    History
    nonmoving: Add support for heap profiling
    Teo Camarasu authored and Marge Bot's avatar Marge Bot committed
    Add support for heap profiling while using the nonmoving collector.
    
    We greatly simply the implementation by disabling concurrent collection for
    GCs when heap profiling is enabled. This entails that the marked objects on
    the nonmoving heap are exactly the live objects.
    
    Note that we match the behaviour for live bytes accounting by taking the size
    of objects on the nonmoving heap to be that of the segment's block
    rather than the object itself.
    
    Resolves #22221
Code owners
Assign users and groups as approvers for specific file changes. Learn more.