3 ms·
Your language could disallow references from permspace to normal space. Or even make permspace objects immutable.
by eru 15y ago
Your 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."