Lines Matching refs:FreeChunk
44 // No virtuals in FreeChunk (don't want any vtables).
46 // A FreeChunk is merely a chunk that can be in a doubly linked list
57 class FreeChunk VALUE_OBJ_CLASS_SPEC {
60 // indication that this is a FreeChunk and not an object.
62 FreeChunk* _prev;
63 FreeChunk* _next;
78 return ((volatile FreeChunk*)addr)->is_free();
92 _prev = (FreeChunk*)(((intptr_t)_prev) | 0x2);
94 FreeChunk* prev() const {
95 return (FreeChunk*)(((intptr_t)_prev) & ~(0x3));
111 FreeChunk* next() const { return _next; }
113 void link_after(FreeChunk* ptr) {
117 void link_next(FreeChunk* ptr) { _next = ptr; }
118 void link_prev(FreeChunk* ptr) {
120 _prev = (FreeChunk*)((intptr_t)ptr | 0x1);