mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +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,23 +2004,22 @@ void nmethod::oops_do_marking_epilogue() {
|
|||
|
||||
nmethod* next = _oops_do_mark_nmethods;
|
||||
_oops_do_mark_nmethods = NULL;
|
||||
if (next == NULL) {
|
||||
return;
|
||||
}
|
||||
nmethod* cur;
|
||||
do {
|
||||
cur = next;
|
||||
next = extract_nmethod(cur->_oops_do_mark_link);
|
||||
cur->_oops_do_mark_link = NULL;
|
||||
DEBUG_ONLY(cur->verify_oop_relocations());
|
||||
if (next != NULL) {
|
||||
nmethod* cur;
|
||||
do {
|
||||
cur = next;
|
||||
next = extract_nmethod(cur->_oops_do_mark_link);
|
||||
cur->_oops_do_mark_link = NULL;
|
||||
DEBUG_ONLY(cur->verify_oop_relocations());
|
||||
|
||||
LogTarget(Trace, gc, nmethod) lt;
|
||||
if (lt.is_enabled()) {
|
||||
LogStream ls(lt);
|
||||
CompileTask::print(&ls, cur, "oops_do, unmark", /*short_form:*/ true);
|
||||
}
|
||||
// End if self-loop has been detected.
|
||||
} while (cur != next);
|
||||
LogTarget(Trace, gc, nmethod) lt;
|
||||
if (lt.is_enabled()) {
|
||||
LogStream ls(lt);
|
||||
CompileTask::print(&ls, cur, "oops_do, unmark", /*short_form:*/ true);
|
||||
}
|
||||
// End if self-loop has been detected.
|
||||
} while (cur != next);
|
||||
}
|
||||
log_trace(gc, nmethod)("oops_do_marking_epilogue");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue