[llvm-dev] (no subject)
Yafei Liu via llvm-dev
llvm-dev at lists.llvm.org
Fri Oct 18 02:10:42 PDT 2019
I'm investigating on integrating a gc to my llvm project, and when I read this
document <http://llvm.org/docs/Statepoints.html>, one sentence confused me:
However, for a collector which wishes to relocate objects directly
reachable from running code, a higher standard is required.
I don't understand what the move "relocate objects directly reachable from
running code" trying to do.
For my information, the concept "relocate" means the gc pointer refereed to
a new location of an object, for example:
Foo foo = new Foo();
foo = new Foo(); // ---> a relocation happens
So can anyone explain what the "relocate objects directly reachable from
running code" trying to do?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev