8246075: Missing logging in nmethod::oops_do_marking_epilogue() on early return path

Reviewed-by: kbarrett
This commit is contained in:
Zhengyu Gu 2020-06-01 08:19:58 -04:00
parent bfd2e96120
commit 4d10ebba12

View file

@ -2004,9 +2004,7 @@ void nmethod::oops_do_marking_epilogue() {
nmethod* next = _oops_do_mark_nmethods;
_oops_do_mark_nmethods = NULL;
if (next == NULL) {
return;
}
if (next != NULL) {
nmethod* cur;
do {
cur = next;
@ -2021,6 +2019,7 @@ void nmethod::oops_do_marking_epilogue() {
}
// End if self-loop has been detected.
} while (cur != next);
}
log_trace(gc, nmethod)("oops_do_marking_epilogue");
}