Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Ben Gamari's avatar
    ae36c9e7
    rts/CheckUnload: Don't prepare to unload if we can't unload · ae36c9e7
    Ben Gamari authored and Andreas Klebinger's avatar Andreas Klebinger committed
    Previously `prepareUnloadCheck` would move the `objects` list to
    `old_objects` even when profiling (where we cannot unload). This caused
    us to vacate the `objects` list during major GCs, losing track of loaded
    objects. Fix this by ensuring that `prepareUnloadCheck` and
    `checkUnload` both use the same short-cutting logic.
    
    (cherry picked from commit 34d3e8e6)
    ae36c9e7
    History
    rts/CheckUnload: Don't prepare to unload if we can't unload
    Ben Gamari authored and Andreas Klebinger's avatar Andreas Klebinger committed
    Previously `prepareUnloadCheck` would move the `objects` list to
    `old_objects` even when profiling (where we cannot unload). This caused
    us to vacate the `objects` list during major GCs, losing track of loaded
    objects. Fix this by ensuring that `prepareUnloadCheck` and
    `checkUnload` both use the same short-cutting logic.
    
    (cherry picked from commit 34d3e8e6)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.