Skip to content

Garbage Collection specifics. #6234

Answered by matz
sasq64 asked this question in Q&A
Discussion options

You must be logged in to vote

Your basic understanding of GC is correct, except that does not cover the generational and incremental aspects of the garbage collector.

Maybe doc/guides/gc-arena-howto.md would help you to understand the arena better.

And the answer to your question would be "yes, but it may be hard to detect allocating too many objects".

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sasq64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants