Lines Matching refs:fc
57 FreeList<Chunk>::FreeList(Chunk* fc) :
58 _head(fc), _tail(fc)
63 _size = fc->size();
90 Chunk* fc = head();
91 if (fc != NULL) {
92 Chunk* nextFC = fc->next();
94 // The chunk fc being removed has a "next". Set the "next" to the
95 // "prev" of fc.
105 return fc;
141 void FreeList<Chunk>::remove_chunk(Chunk*fc) {
144 assert(fc != NULL, "Remove a NULL chunk");
145 assert(size() == fc->size(), "Wrong list");
149 Chunk* prevFC = fc->prev();
150 Chunk* nextFC = fc->next();
152 // The chunk fc being removed has a "next". Set the "next" to the
153 // "prev" of fc.
170 // clear next and prev fields of fc, debug only
172 fc->link_prev(NULL);
173 fc->link_next(NULL);
175 assert(fc->is_free(), "Should still be a free chunk");
279 bool FreeList<Chunk>::verify_chunk_in_free_list(Chunk* fc) const {
282 guarantee(fc->size() == size(), "Wrong list is being searched");
287 if (fc == curFC) {