8054174: minor buglet in computation of end of pc descs in libjvm_db.c

Fixed scopes_pcs_end calculation

Reviewed-by: sspitsyn, sla
This commit is contained in:
Tom Rodriguez 2014-09-11 03:13:29 -07:00 committed by Dmitry Samersoff
parent e7bc11f7b1
commit 98b5d14523
4 changed files with 4 additions and 2 deletions

View file

@ -595,7 +595,7 @@ static int nmethod_info(Nmethod_t *N)
/* 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 */