There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Implement generational garbage collector
With the current GC implementation, everytime a collection occurs we trace all the objects. We also scan all the memory to determine what has been traced, consolidate free memory, etc...
Also the finalizers are always called (even when not necessary), reducing performnce even more.
The goal of this task is to improve the tracing by using a generational-like garbage collector and find ways to not scan all the memory, run all the finalizers.