diff -r 4d2371d76a19 -r b9bfa72b7dda hotspot/src/share/vm/runtime/vmThread.cpp --- a/hotspot/src/share/vm/runtime/vmThread.cpp Fri Apr 12 12:22:59 2013 -0700 +++ b/hotspot/src/share/vm/runtime/vmThread.cpp Fri Apr 12 15:53:30 2013 -0700 @@ -123,7 +123,7 @@ _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++;