diff -r 52a1bebd1355 -r f6260463dbe4 src/hotspot/share/code/nmethod.cpp --- a/src/hotspot/share/code/nmethod.cpp Tue May 28 14:29:29 2019 -0400 +++ b/src/hotspot/share/code/nmethod.cpp Tue May 28 20:47:47 2019 +0200 @@ -1261,7 +1261,7 @@ void nmethod::unlink_from_method() { if (method() != NULL) { - method()->unlink_code(); + method()->unlink_code(this); } }