# HG changeset patch # User rehn # Date 1559069267 -7200 # Node ID f6260463dbe4f0f700d76e616bb12f158678c7b6 # Parent 52a1bebd1355f5c66c698d21f0fd573bb5e7fdb5 8224795: some runtime/SelectionResolution tests are timing out Reviewed-by: dholmes, thartmann 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); } }