harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Berezhniuk (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2392) [drlvm][jvmti] Breakpoints refer to deleted methods when deleting Global_Env
Date Fri, 01 Dec 2006 12:36:26 GMT
     [ 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


View raw message