4 ms·
Would this help? My understanding is that the copy was so that the new object exists in the heap of the receiving process, and therefore the GC can have a stron
by joppy 6y ago
Would this help? My understanding is that the copy was so that the new object exists in the heap of the receiving process, and therefore the GC can have a strong guarantee that all objects within a process belong to the GC for that process.
Whether moving an object between two GC’d heaps is even possible (let alone simple or complicated) surely depends a lot on the GC implementation. The implementation of concurrent GCs is not easy...