[LLVMdev] Improving Garbage Collection
Frits van Bommel
fvbommel at gmail.com
Wed Jul 20 23:12:02 PDT 2011
On 20 July 2011 20:20, Andrew Trick <atrick at apple.com> wrote:
> safepoints need to be defined as clobbering all
> locations that may contain a pointer.
But *only* for a moving collector.
If you're using a non-moving gc the pointers won't change, so there's
no need to force reloading them after a safe point..
Unless weak pointers are supported, in which case you need a way to
mark *some* pointers as being clobbered (but not others).
More information about the llvm-dev