6 ms·
I don't really know that particular GC, but not necessarily. Code objects are usually stored in a separate area and might be managed differently than regular ob
by readittwice 6y ago
I don't really know that particular GC, but not necessarily. Code objects are usually stored in a separate area and might be managed differently than regular objects. So a copying GC might not relocate code - maybe not even collect it. In case objects are relocated by the GC, there is usually "relocation information" which can be used to patch the code after it got relocated.