8140584: nmethod::oops_do_marking_epilogue always runs verification code

Reviewed-by: tschatzl, kvn
This commit is contained in:
Stefan Karlsson 2015-10-27 12:25:08 +01:00
parent 2e45726df1
commit eddb003fc7
6 changed files with 15 additions and 15 deletions

View file

@ -2315,7 +2315,7 @@ void nmethod::oops_do_marking_epilogue() {
assert(cur != NULL, "not NULL-terminated");
nmethod* next = cur->_oops_do_mark_link;
cur->_oops_do_mark_link = NULL;
cur->verify_oop_relocations();
DEBUG_ONLY(cur->verify_oop_relocations());
NOT_PRODUCT(if (TraceScavenge) cur->print_on(tty, "oops_do, unmark"));
cur = next;
}