Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (25 sloc) 0.643 kB
#ifndef RBX_GC_OBJECT_MARK_HPP
#define RBX_GC_OBJECT_MARK_HPP
namespace rubinius {
class VM;
class GarbageCollector;
class Object;
/**
* Used by GarbageCollector implementations to mark objects that are still
* reachable. ObjectMark carries a GarbageCollector instance with it as it
* visits an object and its contents.
*/
class ObjectMark {
public:
GarbageCollector* gc;
public:
ObjectMark(GarbageCollector* gc)
: gc(gc)
{}
VM* state();
Object* call(Object*);
void set(Object* target, Object** pos, Object* val);
void just_set(Object* target, Object* val);
};
}
#endif
Jump to Line
Something went wrong with that request. Please try again.