< prev index next >

src/hotspot/share/gc/shared/scavengableNMethods.cpp

Print this page

        

*** 253,262 **** --- 253,263 ---- nmethod* last = NULL; nmethod* cur = _head; while (cur != NULL) { nmethod* next = gc_data(cur).next(); + debug_only(gc_data(cur).clear_marked()); assert(gc_data(cur).on_list(), "else shouldn't be on this list"); if (!cur->is_zombie() && !cur->is_unloaded() && has_scavengable_oops(cur)) { // Keep it. Advance 'last' to prevent deletion. last = cur;
< prev index next >