equal
deleted
inserted
replaced
309 void ThreadLocalAllocBuffer::verify() { |
309 void ThreadLocalAllocBuffer::verify() { |
310 HeapWord* p = start(); |
310 HeapWord* p = start(); |
311 HeapWord* t = top(); |
311 HeapWord* t = top(); |
312 HeapWord* prev_p = NULL; |
312 HeapWord* prev_p = NULL; |
313 while (p < t) { |
313 while (p < t) { |
314 oop(p)->verify(); |
314 oopDesc::verify(oop(p)); |
315 prev_p = p; |
315 prev_p = p; |
316 p += oop(p)->size(); |
316 p += oop(p)->size(); |
317 } |
317 } |
318 guarantee(p == top(), "end of last object must match end of space"); |
318 guarantee(p == top(), "end of last object must match end of space"); |
319 } |
319 } |