3 -----------------------------------------------------------------------------
6 -- Copyright : (c) The University of Glasgow 2001
7 -- License : BSD-style (see the file libraries/base/LICENSE)
9 -- Maintainer : libraries@haskell.org
10 -- Stability : provisional
11 -- Portability : portable
13 -- Memory-related system things.
15 -----------------------------------------------------------------------------
24 -- | Triggers an immediate garbage collection.
26 performGC
= performMajorGC
28 -- | Triggers an immediate garbage collection.
31 foreign import ccall
"performMajorGC" performMajorGC
:: IO ()
33 -- | Triggers an immediate minor garbage collection.
36 foreign import ccall
"performGC" performMinorGC
:: IO ()