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

But does the GC run on the GC's own runtime data?

Can the GC be interrupted by itself if it takes too long or uses too much memory?

It seems like there are several things about the GC that would need to be special-cased, since the GC is implicitly invoked by the runtime.



I would assume not. GCs are typically invoked by requesting allocation. Since the GC (presumably) uses lower-level OS facilities to allocate memory, it wouldn't need to recursively invoke itself.




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

Search: