NextPrevUpTopContentsIndex

enlarge-static

Function
Summary

Enlarges the size of the first static segment in 32-bit LispWorks.

Package

hcl

Signature

enlarge-static size => result

Arguments

size

A non-negative fixnum .

Values

result

A boolean.

Description

This function can be used when the system would otherwise allocate additional static segments. Such additional segments would cause the application to grow irreversibly.

size is the amount (in bytes) by which the static segment is to be enlarged. It is rounded up to a multiple of 64K.

result is t if the static segment was successfully enlarged, and nil otherwise.

Use room, with argument t , to find the size of the static segments, and thus the size by which to enlarge the first static segment.

Note: enlarge-static is implemented only in 32-bit LispWorks. It is not relevant to the Memory Management API in 64-bit implementations, where the irreversible growth problem described above does not exist.

See also

in-static-area
room
set-default-segment-size
switch-static-allocation


LispWorks Reference Manual - 12 Mar 2008

NextPrevUpTopContentsIndex