Handbook
Glossary
gc-info
Vocabulary
vm
Class description
A struct that defines the sizes of the garbage collection maps for a word. It has the following slots:
gc-root-count
Number of gc root bits per callsite.
derived-root-count
Number of derived roots per callsite.
return-address-count
Number of gc callsites.
Definition
USING:
alien.c-types
classes.struct
;
IN:
vm
STRUCT:
gc-info
{
gc-root-count
uint
read-only
initial:
0
}
{
derived-root-count
uint
read-only
initial:
0
}
{
return-address-count
uint
read-only
initial:
0
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
vm
;
M:
gc-info
clone
clone-underlying
\
gc-info
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
vm
;
M:
gc-info
struct-slot-values
{
[
gc-root-count>>
]
[
derived-root-count>>
]
[
return-address-count>>
]
}
cleave>array
;
inline