4 ms·
A moving GC would make it simple to move any remaining live objects back under normal GC control once the arena goes out of scope. You could probably also do i
by tpolzer 10mo ago
A moving GC would make it simple to move any remaining live objects back under normal GC control once the arena goes out of scope.
You could probably also do it without moving actually, it just gets a little more complex.
- riku_iki 10mo agoI don't understand this, once Arena is gone, all contained objects will be destroyed altogether, that's the idea of Arena, no need to move them to GC control.