Next Prev Up Top Contents Index

get-gc-parameters

Function
Summary

Returns the current values of various garbage collector parameters.

Package

lispworks

Signature

get-gc-parameters &key parameters => values

Arguments

parameters

If :full , full information for all GC parameters is returned. Otherwise, this should represent a single GC parameter.

Values

values

If parameters is :full , this is an associated list containing every GC parameter, together with its current value. If parameters specifies a GC parameter, only the value of that parameter is returned.

Description

See set-gc-parameters for a full description of these parameters.

With keyword argument, of one of the parameters, the corresponding value is returned.

Example
CL-USER 44 : 1 > (get-gc-parameters :minimum-overflow)
500000
CL-USER 45 : 1 > (get-gc-parameters :full)
((:ENLARGE-BY-SEGMENTS . 10) (:MINIMUM-FOR-PROMOTE . 1000) (:MAXIMUM-OVERFLOW . 1000000) (:MINIMUM-OVERFLOW . 500000) (:MINIMUM-BUFFER-SIZE . 200) (:NEW-GENERATION-SIZE . 4096) (:PROMOTE-MAX-BUFFER . 100000) (:PROMOTE-MIN-BUFFER . 200) (:MAXIMUM-BUFFER-SIZE . 131072) (:MINIMUM-FOR-SWEEP . 8000) (:BIG-OBJECT . 131072) (:SMALL-OBJECT . 100))
See also

set-gc-parameters


LispWorks Reference Manual (Windows version) - 14 Dec 2001

Next Prev Up Top Contents Index