An integer between 0 and 3, inclusive.
One of :cons
, :symbol
, :function
, :non-pointer
, :other
, :mixed
, :cons-static
, :non-pointer-static
, :mixed-static
, :weak
, :other-big
, and :non-pointer-big
.
A number, or nil
.
The function set-default-segment-size
sets the default initial size of a segment for a specific generation and allocation type.
The default initial size is also used as the default size for enlargement of the segment.
allocation-type can be any of the allocation types. However, if allocation-type is :other-big
or :non-pointer-big
, this function has no effect.
If size-in-mb is a number, it specifies the size in megabytes. If size-in-mb is nil
then set-default-segment-size
returns the default initial segment size without altering it.
The returned value, segment-size, is the previous default initial segment size.
During automatic garbage collections (GCs) the system collects an ephemeral generation when any of its segments for the main allocation types is full. Thus the size of the segments defines the frequency of GCs in these generations.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4