Orphan Note about HPT space leaks ... easily fixed I think
I noticed (when spelunking something different) that
Note [HPT space leak] (#15111)
in GHC.Iface.Load
is not referenced by anything at all.
I'm pretty sure it is explaining the function dontLeakTheHUG
, becuase it was added by Simon Marlow in f27e4f624fe
. At that time the function was called dontLeakTheHPT
.
Suggestion (assuming I'm right)
- Spell out the HUG is short for Home Unit Graph
- Retitle the Note to
Note [Home Unit Graph space leak]
- Make sure the Note refers to the HUG not the HPT
- Refer to the Note from the function