Displaying 2 results from an estimated 2 matches for "gc_add_static_root".
2004 Oct 29
0
[LLVMdev] Getting started with GC
..."globals" (really statics fields in
Java) that can contain references. Given this, it seems like your GC
needs the front-end to provide the following:
1. A way of identifying/iterating all of the global references. It seems
reasonable for the GC to expose a function like "void gc_add_static_root(void**)"
which the front-end would emit calls to. Java has 'class initializers'
which are called to initialize static members of classes (and other
stuff), so the language front-end could easily insert calls to this
function in the initializer.
2. A way of getting the size...
2004 Oct 28
2
[LLVMdev] Getting started with GC
We have a few questions about the current state of GC.
We decided to start (and finish?) our work by finishing SemiSpace.
process_pointer is meant to move objects from CurSpace to OtherSpace.
How can it find pointers to a moved object? How does it know the size
of each object? Assuming we are writing a GC that will only work from
llvm assembly our best option seems to be forcing the assembly code