3 ms·
I don't think this would really handle the pinning aspect if a compacting GC is implemented, would it? It does keep the pointer alive, but it technically doesn'
by ominous_prime 12y ago
I don't think this would really handle the pinning aspect if a compacting GC is implemented, would it? It does keep the pointer alive, but it technically doesn't do anything to prevent the GC from changing the pointer.
- crawshaw 12y agoThe uintptr version of the pointer is not moved by the GC, so it acts as a stable identifier.