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
--- 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 */