Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8263017: Read barriers are missing in nmethod printing code
Reviewed-by: eosterlund, kvn
  • Loading branch information
Vladimir Ivanov committed Mar 12, 2021
1 parent a6e056f commit 0b10c6b4152dc07b7efdad4d439c539281300ef0
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/hotspot/share/code/nmethod.cpp
@@ -936,6 +936,8 @@ void nmethod::maybe_print_nmethod(DirectiveSet* directive) {
}

void nmethod::print_nmethod(bool printmethod) {
run_nmethod_entry_barrier(); // ensure all embedded OOPs are valid before printing

ttyLocker ttyl; // keep the following output all in one block
if (xtty != NULL) {
xtty->begin_head("print_nmethod");

0 comments on commit 0b10c6b

Please sign in to comment.