Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. PushCallStack :: [Char] -> SrcLoc -> CallStack -> CallStack

    ghc-internal GHC.Internal.Stack.Types

    No documentation available.

  2. emptyCallStack :: CallStack

    ghc-internal GHC.Internal.Stack.Types

    The empty CallStack.

  3. freezeCallStack :: CallStack -> CallStack

    ghc-internal GHC.Internal.Stack.Types

    Freeze a call-stack, preventing any further call-sites from being appended.

    pushCallStack callSite (freezeCallStack callStack) = freezeCallStack callStack
    

  4. fromCallSiteList :: [([Char], SrcLoc)] -> CallStack

    ghc-internal GHC.Internal.Stack.Types

    Convert a list of call-sites to a CallStack.

  5. getCallStack :: CallStack -> [([Char], SrcLoc)]

    ghc-internal GHC.Internal.Stack.Types

    Extract a list of call-sites from the CallStack. The list is ordered by most recent call.

  6. pushCallStack :: ([Char], SrcLoc) -> CallStack -> CallStack

    ghc-internal GHC.Internal.Stack.Types

    Push a call-site onto the stack. This function has no effect on a frozen CallStack.

  7. gcdetails_allocated_bytes :: GCDetails -> Word64

    ghc-internal GHC.Internal.Stats

    Number of bytes allocated since the previous GC

  8. disableAllocationLimit :: IO ()

    ghc-internal GHC.Internal.System.Mem

    Disable allocation limit processing for the current thread.

  9. enableAllocationLimit :: IO ()

    ghc-internal GHC.Internal.System.Mem

    Enables the allocation counter to be treated as a limit for the current thread. When the allocation limit is enabled, if the allocation counter counts down below zero, the thread will be sent the AllocationLimitExceeded asynchronous exception. When this happens, the counter is reinitialised (by default to 100K, but tunable with the +RTS -xq option) so that it can handle the exception and perform any necessary clean up. If it exhausts this additional allowance, another AllocationLimitExceeded exception is sent, and so forth. Like other asynchronous exceptions, the AllocationLimitExceeded exception is deferred while the thread is inside mask or an exception handler in catch. Note that memory allocation is unrelated to live memory, also known as heap residency. A thread can allocate a large amount of memory and retain anything between none and all of it. It is better to think of the allocation limit as a limit on CPU time, rather than a limit on memory. Compared to using timeouts, allocation limits don't count time spent blocked or in foreign calls.

  10. getAllocationCounter :: IO Int64

    ghc-internal GHC.Internal.System.Mem

    Return the current value of the allocation counter for the current thread.

Page 502 of many | Previous | Next