src/share/vm/runtime/vmThread.cpp

Print this page

        

*** 121,131 **** _queue[prio]->prev()->set_next(NULL); // restore queue to empty state _queue[prio]->set_next(_queue[prio]); _queue[prio]->set_prev(_queue[prio]); assert(queue_empty(prio), "drain corrupted queue"); ! #ifdef DEBUG int len = 0; VM_Operation* cur; for(cur = r; cur != NULL; cur=cur->next()) len++; assert(len == length, "drain lost some ops"); #endif --- 121,131 ---- _queue[prio]->prev()->set_next(NULL); // restore queue to empty state _queue[prio]->set_next(_queue[prio]); _queue[prio]->set_prev(_queue[prio]); assert(queue_empty(prio), "drain corrupted queue"); ! #ifdef ASSERT int len = 0; VM_Operation* cur; for(cur = r; cur != NULL; cur=cur->next()) len++; assert(len == length, "drain lost some ops"); #endif