package ocaml-solo5

  1. Overview
  2. Docs
OCaml cross-compiler to the freestanding Solo5 backend

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.3.3.tar.gz
md5=47876167068345542f49279e8fd28896
sha512=272081ec51a6ed69c08e4e8fa64fee3df53fd84c66c0c07a653891c88b342cf74553e1c95711e4fbc18922c899a3448a649f3bd9858f8d89cae834ad2b67fffb

doc/stdlib/Stdlib/Gc/Tweak/index.html

Module Gc.TweakSource

GC Tweaks are unstable and undocumented configurable GC parameters, primarily intended for use by GC developers.

As well as using Gc.Tweak.set "foo" 42, they can also be configured in OCAMLRUNPARAM, using the following syntax:

OCAMLRUNPARAM='Xfoo=42'

Additionally, OCAMLRUNPARAM=Xhelp will show the available GC tweaks.

  • since 5.5
Sourceval set : string -> int -> unit

Change a parameter. Raises Invalid_argument if no such parameter exists

Sourceval get : string -> int

Retrieve a parameter value. Raises Invalid_argument if no such parameter exists

Sourceval list_active : unit -> (string * int) list

Returns the list of parameters and their values that currently have non-default values