nonmoving: Add support for heap profiling
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
Showing
- docs/users_guide/9.10.1-notes.rst 2 additions, 0 deletionsdocs/users_guide/9.10.1-notes.rst
- rts/Capability.h 1 addition, 1 deletionrts/Capability.h
- rts/ProfHeap.c 128 additions, 0 deletionsrts/ProfHeap.c
- rts/RtsFlags.c 0 additions, 5 deletionsrts/RtsFlags.c
- rts/sm/GC.c 3 additions, 1 deletionrts/sm/GC.c
- testsuite/tests/profiling/should_run/all.T 3 additions, 5 deletionstestsuite/tests/profiling/should_run/all.T
Loading
Please register or sign in to comment