You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ilya Berezhniuk (JIRA)" <ji...@apache.org> on 2006/12/01 13:36:26 UTC
[jira] Updated: (HARMONY-2392) [drlvm][jvmti] Breakpoints refer to
deleted methods when deleting Global_Env
[ http://issues.apache.org/jira/browse/HARMONY-2392?page=all ]
Ilya Berezhniuk updated HARMONY-2392:
-------------------------------------
Attachment: remove_breakpoints.patch
Suggested patch fixes problem.
Because Breakpoint event should be generated in PHASE_LIVE only, we can remove all JVMTI breakpoints when transferring to PHASE_DEAD.
> [drlvm][jvmti] Breakpoints refer to deleted methods when deleting Global_Env
> ----------------------------------------------------------------------------
>
> Key: HARMONY-2392
> URL: http://issues.apache.org/jira/browse/HARMONY-2392
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: All
> Reporter: Ilya Berezhniuk
> Attachments: remove_breakpoints.patch
>
>
> When JVMTI breakpoints are used JIT mode, and not deleted on PHASE_LIVE, VM fails on assertions or access violations while deleting Global_Env.
> It's because TI deletes breakpoints when some classes are deleted already, and breakpoint->method fields refer to deallocated memory regions.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira