Scieneer Common Lisp 1.3.9 online documentation

ext:generation-minimum-age-before-gc generation[Function]

Return the average memory age for the generation before garbage collection of the generation is automatically triggered. The age is a double-float and the unit of measurement is the number of times the garbage collection of the immediately younger generation has promoted objects to the generation. When objects are initially allocated to the generation their age is zero, and each time the immediately younger generation allocates objects to the generation the age of all objects in the generation increases by one. The age of all objects in the generation are averaged. The number of bytes allocated to the generation is also tested before automatically triggering garbage collection of the generation, see ext:generation-bytes-consed-between-gcs.

(setf (ext:generation-minimum-age-before-gc generation) age)[Function]

Set the average memory age for the generation before garbage collection of the generation is automatically triggered. The default for all generations is 0.75. Increasing the minimum age reduces the rate of garbage collection which in turn slows the progression of objects to older generations. This parameter is saved in a lisp core file and is in effect when restarted. See also: ext:generation-minimum-age-before-gc.