Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Virgil compiles its tracing semi-space collector into the application. It's the same code as the native GC. The major difference is that the call stack is not visible, so the compiler must spill all live references on the stack into a shadow stack in memory. That last part was the trickiest and most inefficient part of porting.


Yeah, but it doesn't run in parallel, does it?


No, you need an additional safepoint mechanism to do that.


Thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: