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