-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
approvedApproved by CLC voteApproved by CLC votebase-4.20Implemented in base-4.20 (GHC 9.10)Implemented in base-4.20 (GHC 9.10)
Description
GHC's C RTS interface already exports a performBlockingMajorGC
function. This differs from the standard performMajorGC
in that it will force nonmoving collections to be blocking. Currently the only way to access this is through the C API.
This proposal is to expose this as a Haskell function: System.Mem.performBlockingMajorGC
.
See the GHC MR here: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/11693
I tried searching Hackage and there's no mention of performBlockingMajorGC
so it's unlikely that exporting this could break any code.
Metadata
Metadata
Assignees
Labels
approvedApproved by CLC voteApproved by CLC votebase-4.20Implemented in base-4.20 (GHC 9.10)Implemented in base-4.20 (GHC 9.10)