src/share/vm/runtime/vmThread.cpp

Print this page

        

@@ -121,11 +121,11 @@
   _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
+#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