search for: gcstate

Displaying 1 result from an estimated 1 matches for "gcstate".

Did you mean: cstate
2011 Feb 21
2
[LLVMdev] A working garbage collector - finally :)
...nd pointers: private final class TraceActionImpl : TraceAction { protected def tracePointer(ptrAddr:Address[Object]) { let addr:Address[ubyte] = Memory.bitCast(ptrAddr[0]); if fromSpace.contains(addr) { let header:Address[ObjectHeader] = Memory.bitCast(addr); // A gcstate of 0 means that 'header' is the head of a statically // allocated object instance, in which case we need not do // anything since it will be traced as a static root. if (header.gcstate != 0) { if (header.gcstate & uint(GCFlags.RELOCATED)) != 0 {...