hotspot/src/share/vm/code/nmethod.cpp
changeset 26563 d6561f9d04f2
parent 26558 b7df27df6384
child 26705 fca1785e7084
--- 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) {