mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8246075: Missing logging in nmethod::oops_do_marking_epilogue() on early return path
Reviewed-by: kbarrett
This commit is contained in:
parent
bfd2e96120
commit
4d10ebba12
1 changed files with 15 additions and 16 deletions
|
@ -2004,9 +2004,7 @@ void nmethod::oops_do_marking_epilogue() {
|
||||||
|
|
||||||
nmethod* next = _oops_do_mark_nmethods;
|
nmethod* next = _oops_do_mark_nmethods;
|
||||||
_oops_do_mark_nmethods = NULL;
|
_oops_do_mark_nmethods = NULL;
|
||||||
if (next == NULL) {
|
if (next != NULL) {
|
||||||
return;
|
|
||||||
}
|
|
||||||
nmethod* cur;
|
nmethod* cur;
|
||||||
do {
|
do {
|
||||||
cur = next;
|
cur = next;
|
||||||
|
@ -2021,6 +2019,7 @@ void nmethod::oops_do_marking_epilogue() {
|
||||||
}
|
}
|
||||||
// End if self-loop has been detected.
|
// End if self-loop has been detected.
|
||||||
} while (cur != next);
|
} while (cur != next);
|
||||||
|
}
|
||||||
log_trace(gc, nmethod)("oops_do_marking_epilogue");
|
log_trace(gc, nmethod)("oops_do_marking_epilogue");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue