Handbook
Glossary
collect-gc-events ( quot -- gc-events )
Vocabulary
tools
.
memory
Inputs
quot
a
quotation
Outputs
gc-events
a sequence of
gc-event
instances
Word description
Calls the quotation and outputs a sequence of
gc-event
instances.
Notes
The
time
combinator automatically calls this combinator.
Definition
USING:
classes.struct
continuations
kernel
sequences
tools.memory.private
vm
;
IN:
tools.memory
:
collect-gc-events
( quot -- gc-events )
enable-gc-events
[
disable-gc-events
]
[
drop
]
cleanup
[
gc-event
memory>struct
]
map
;
inline