3 ms·
Wouldn't the GC still need to check for references from permspace objects? (It's probably still a noticeable performance boost.)
by JoachimSchipper 15y ago
Wouldn't the GC still need to check for references from permspace objects? (It's probably still a noticeable performance boost.)
- eru 15y agoYour language could disallow references from permspace to normal space. Or even make permspace objects immutable.
- fpgeek 15y agoOr just track the (presumably few) mutations of permspace objects for special handling. In that case, permspace effectively becomes an infinitely long-lived generation that is never collected, only used as a source of roots.
- stcredzero 15y agoBingo. I should have written "GC only uses it as a source of roots."