Timeline for Does a vm implemented in garbage collected language need a garbage collector?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 6, 2014 at 8:47 | comment | added | user7043 | You say the guest VM needs to hold references to otherwise unreachable guest objects to implement GC on its own (this is correct), but that doesn't mean it has to implement its own GC in the first place: If the guest VM didn't attempt to implement GC itself, it wouldn't need those references and hence could let the host GC do its job. Note that when every guest object is a host object, guest-level references can be mapped to host-level references directly, i.e., in a manner transparent to the host GC. | |
May 6, 2014 at 8:44 | vote | accept | Anindya Chatterjee | ||
May 6, 2014 at 10:15 | |||||
May 6, 2014 at 8:35 | history | edited | Kilian Foth | CC BY-SA 3.0 |
added 1 character in body
|
May 6, 2014 at 8:18 | history | answered | Kilian Foth | CC BY-SA 3.0 |