This repository has been archived by the owner on Aug 23, 2024. It is now read-only.
Add Backup Mark and Sweep GC
Pre-release
Pre-release
Adds a mark and sweep garbage collection to prepare for the generational gc. Also fix the memory leak. Currently, for the typescript compiler benchmark, the speed of two gc are (heap size is 4GB):
gc type | total time/s | gc time/s |
---|---|---|
copying | 146.3 | 20.0 |
mark & sweep | 158.3 | 18.5 |