7180914: Compilation warning after: 7172967: Eliminate the constMethod's _method backpointer to the methodOop.
authorjiangli
Thu, 05 Jul 2012 18:47:41 -0400
changeset 13284 2fd9450d84b0
parent 13283 a9e7a1234f89
child 13285 5c78ade8d6a3
7180914: Compilation warning after: 7172967: Eliminate the constMethod's _method backpointer to the methodOop. Summary: Use read_pointer(J...) to access from 'constMethod' base in name_for_methodOop(), libjvm_db.c. Reviewed-by: kvn, coleenp
hotspot/src/os/solaris/dtrace/libjvm_db.c
--- a/hotspot/src/os/solaris/dtrace/libjvm_db.c	Mon Jul 02 04:19:22 2012 -0400
+++ b/hotspot/src/os/solaris/dtrace/libjvm_db.c	Thu Jul 05 18:47:41 2012 -0400
@@ -516,7 +516,7 @@
 
   err = read_pointer(J, methodOopPtr + OFFSET_methodOopDesc_constMethod, &constMethod);
   CHECK_FAIL(err);
-  err = read_pointer(J->P, constMethod + OFFSET_constMethodOopDesc_constants, &constantPool);
+  err = read_pointer(J, constMethod + OFFSET_constMethodOopDesc_constants, &constantPool);
   CHECK_FAIL(err);
 
   /* To get name string */