search for: gc_fe_is_point

Displaying 2 results from an estimated 2 matches for "gc_fe_is_point".

Did you mean: gc_fe_is_pointer
2004 Oct 29
0
[LLVMdev] Getting started with GC
...of a heap object. I'm not sure what the best way to do this is (or the best way to encode this) but I'm sure you can come up with something. :) The most naive and inefficient interface (always a good starting place) would be to have the front-end provide a callback: _Bool gc_fe_is_pointer(void *obj, unsigned offset) that the GC can use to probe all of the words in the object to see if they are pointers. This can obviously be improved. :) In a naive implementation, the result of these callbacks will be extremely inefficient, as all of these functions are very small and will...
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