Standard ML of New Jersey
val doGC : int -> unit
val messages : bool -> unit
Garbage-collect the heap to generation g. doGC(0) does a most-minor-generation collection, doGC(100000) does a most-major-generation collection, making sure to scavenge all garbage. In a typical installation, the highest meaningful argument value is approximately 6.
turns garbage collection messages on or off, depending on the value of the boolean b. For interactive systems (i.e., those created by exportML), messages are on by default, while messages are off by default for images created by exportFn.
Note that this feature is only available in version 110.0.1, and later.
Last Modified December 13, 1997
Comments to email@example.com
Copyright © 1998 Bell Labs, Lucent Technologies