diff -r c2e144c5b6a2 -r d6561f9d04f2 hotspot/src/share/vm/code/nmethod.cpp --- a/hotspot/src/share/vm/code/nmethod.cpp Thu Sep 04 14:58:58 2014 -0400 +++ b/hotspot/src/share/vm/code/nmethod.cpp Fri Sep 05 08:08:51 2014 -0400 @@ -2087,6 +2087,9 @@ Metadata* md = *p; f(md); } + + // Call function Method*, not embedded in these other places. + if (_method != NULL) f(_method); } void nmethod::oops_do(OopClosure* f, bool allow_zombie) {