HORIZON HASKELLDocslts/ghc-9.14.xb2f3bfd2026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · b2f3bfd · 2026-10-11

Modulebase-4.22.0.0Haskell2010

GHC.RTS.Flags

The API of this module is unstable and is tightly coupled to GHC's internals. If depend on it, make sure to use a tight upper bound, e.g., base < 4.X rather than base < 5, because the interface can change rapidly without much warning.

Descriptions of flags can be seen in GHC User's Guide, or by running RTS help message using +RTS --help.

This module is a compatibility layer. It is meant to be temporary to allow for the eventual deprecation of these declarations as described in CLC proposal #289. These declarations are now instead available from the ghc-experimental package.

  • 18 types
  • 11 values
  • Packagebase-4.22.0.0
  • Exports29
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceFlags.hs
datadata RTSFlags
#
Instances3Show, Generic, Rep
datadata GiveGCStats
#

Should we produce a summary of the garbage collector statistics after the program has exited?

Instances3Show, Generic, Rep
datadata GCFlags
#
Instances3Show, Generic, Rep
datadata ConcFlags
#

Parameters concerning context switching

Instances3Show, Generic, Rep
datadata MiscFlags
#
Instances3Show, Generic, Rep
datadata DebugFlags
#

Flags to control debugging output & extra checking in various subsystems.

Constructors

Instances3Show, Generic, Rep
datadata DoCostCentres
#
Instances3Show, Generic, Rep
datadata CCFlags
#

Parameters pertaining to the cost-center profiler.

Instances3Show, Generic, Rep
datadata DoHeapProfile
#
Instances3Show, Generic, Rep
datadata ProfFlags
#
Instances3Show, Generic, Rep
datadata DoTrace
#

Is event tracing enabled?

Constructors

Instances3Show, Generic, Rep
datadata TraceFlags
#

Parameters pertaining to event tracing

Constructors

Instances3Show, Generic, Rep
datadata TickyFlags
#

Parameters pertaining to ticky-ticky profiler

Instances3Show, Generic, Rep
datadata ParFlags
#
Instances3Show, Generic, Rep
datadata HpcFlags
#

Parameters pertaining to Haskell program coverage (HPC)

Constructors

Instances3Show, Generic, Rep
datadata IoSubSystem
#

The I/O SubSystem to use in the program.

Constructors

  • IoPOSIX

    Use a POSIX I/O Sub-System

  • IoNative

    Use platform native Sub-System. For unix OSes this is the same as IoPOSIX, but on Windows this means use the Windows native APIs for I/O, including IOCP and RIO.

Instances3Enum, Eq, Show
  • Enum IoSubSystemDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.SubSystem
  • Eq IoSubSystemDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.SubSystem
  • Show IoSubSystemDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.SubSystem