hotspot/src/share/vm/prims/jvmtiTagMap.cpp
changeset 40662 6e951c9e7318
parent 37993 e446184da25e
child 43944 23334f30b9b2
--- a/hotspot/src/share/vm/prims/jvmtiTagMap.cpp	Mon Aug 22 15:54:22 2016 +0000
+++ b/hotspot/src/share/vm/prims/jvmtiTagMap.cpp	Tue Aug 23 13:44:59 2016 -0400
@@ -3119,6 +3119,11 @@
             }
           }
 
+          // Follow oops from compiled nmethod
+          if (jvf->cb() != NULL && jvf->cb()->is_nmethod()) {
+            blk->set_context(thread_tag, tid, depth, method);
+            jvf->cb()->as_nmethod()->oops_do(blk);
+          }
         } else {
           blk->set_context(thread_tag, tid, depth, method);
           if (is_top_frame) {