Conversation
af9443f to
6c72d50
Compare
dstogov
left a comment
There was a problem hiding this comment.
I don't object.
Unfortunately, this GC part becomes too complex and actually makes the idea of backup cycle collection completely inefficient. Classic mark-and-sweep GC might win now.
trowski
left a comment
There was a problem hiding this comment.
Based on my limited knowledge of the GC this looks good. Thanks for tackling this issue!
Because it increases the size of the graph, right? or because of the get_gc handler overhead?
Classic mark-and-sweep would make destructor execution non deterministic though |
Because get_gc handler starts to copy stack slots to GC buffer. That is very similar to "mark roots" phase of mark-and-sweep.
I know. Destructors and GC are conceptually incompatible. |
Fixes #9735