8224795: some runtime/SelectionResolution tests are timing out
Reviewed-by: dholmes, thartmann
--- 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);
}
}