Y
Hacker News
new
|
ask
|
show
|
jobs
by
ominous_prime
4303 days 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.
1 comments
crawshaw
4303 days ago
The uintptr version of the pointer is not moved by the GC, so it acts as a stable identifier.
link