src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp
changeset 51268 4ac20e5f96ce
parent 50882 80abf702eed8
child 51385 be775229d3b3
equal deleted inserted replaced
51267:2cd8bbccbd2d 51268:4ac20e5f96ce
   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 }