8054174: minor buglet in computation of end of pc descs in libjvm_db.c
authordsamersoff
Thu, 11 Sep 2014 03:13:29 -0700
changeset 26686 d7bc560b0ee9
parent 26685 aa239a0dfbea
child 26687 eb6c5d0d1d6b
8054174: minor buglet in computation of end of pc descs in libjvm_db.c Summary: fixed scopes_pcs_end calculation Reviewed-by: sspitsyn, sla Contributed-by: Tom Rodriguez <tom.rodriguez@oracle.com>
hotspot/src/os/bsd/dtrace/generateJvmOffsets.cpp
hotspot/src/os/bsd/dtrace/libjvm_db.c
hotspot/src/os/solaris/dtrace/generateJvmOffsets.cpp
hotspot/src/os/solaris/dtrace/libjvm_db.c
--- a/hotspot/src/os/bsd/dtrace/generateJvmOffsets.cpp	Wed Sep 10 17:06:36 2014 -0700
+++ b/hotspot/src/os/bsd/dtrace/generateJvmOffsets.cpp	Thu Sep 11 03:13:29 2014 -0700
@@ -255,6 +255,7 @@
   printf("\n");
 
   GEN_OFFS(nmethod, _method);
+  GEN_OFFS(nmethod, _dependencies_offset);
   GEN_OFFS(nmethod, _oops_offset);
   GEN_OFFS(nmethod, _scopes_data_offset);
   GEN_OFFS(nmethod, _scopes_pcs_offset);
--- a/hotspot/src/os/bsd/dtrace/libjvm_db.c	Wed Sep 10 17:06:36 2014 -0700
+++ b/hotspot/src/os/bsd/dtrace/libjvm_db.c	Thu Sep 11 03:13:29 2014 -0700
@@ -595,7 +595,7 @@
   /* scopes_pcs */
   err = ps_pread(J->P, nm + OFFSET_nmethod_scopes_pcs_offset, &N->scopes_pcs_beg, SZ32);
   CHECK_FAIL(err);
-  err = ps_pread(J->P, nm + OFFSET_nmethod_handler_table_offset, &N->scopes_pcs_end, SZ32);
+  err = ps_pread(J->P, nm + OFFSET_nmethod_dependencies_offset, &N->scopes_pcs_end, SZ32);
   CHECK_FAIL(err);
 
   /* scopes_data */
--- a/hotspot/src/os/solaris/dtrace/generateJvmOffsets.cpp	Wed Sep 10 17:06:36 2014 -0700
+++ b/hotspot/src/os/solaris/dtrace/generateJvmOffsets.cpp	Thu Sep 11 03:13:29 2014 -0700
@@ -250,6 +250,7 @@
   printf("\n");
 
   GEN_OFFS(nmethod, _method);
+  GEN_OFFS(nmethod, _dependencies_offset);
   GEN_OFFS(nmethod, _metadata_offset);
   GEN_OFFS(nmethod, _scopes_data_offset);
   GEN_OFFS(nmethod, _scopes_pcs_offset);
--- a/hotspot/src/os/solaris/dtrace/libjvm_db.c	Wed Sep 10 17:06:36 2014 -0700
+++ b/hotspot/src/os/solaris/dtrace/libjvm_db.c	Thu Sep 11 03:13:29 2014 -0700
@@ -595,7 +595,7 @@
   /* scopes_pcs */
   err = ps_pread(J->P, nm + OFFSET_nmethod_scopes_pcs_offset, &N->scopes_pcs_beg, SZ32);
   CHECK_FAIL(err);
-  err = ps_pread(J->P, nm + OFFSET_nmethod_handler_table_offset, &N->scopes_pcs_end, SZ32);
+  err = ps_pread(J->P, nm + OFFSET_nmethod_dependencies_offset, &N->scopes_pcs_end, SZ32);
   CHECK_FAIL(err);
 
   /* scopes_data */