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/09/22 14:50:23 UTC

[jira] Updated: (HARMONY-1545) [drlvm] [jvmti] Unified JVMTI breakpoints infrastructure implementation

     [ http://issues.apache.org/jira/browse/HARMONY-1545?page=all ]

Ilya Berezhniuk updated HARMONY-1545:
-------------------------------------

    Attachment: JVMTI-breakpoints-unified-infrastructure.patch

I would very much like if this patch is applied sooner because maintaining all of the code with changing JVMTI implementation is rather difficult.

> [drlvm] [jvmti] Unified JVMTI breakpoints infrastructure implementation
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-1545
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1545
>             Project: Harmony
>          Issue Type: Improvement
>            Reporter: Ilya Berezhniuk
>         Attachments: JVMTI-breakpoints-unified-infrastructure.patch
>
>
> Hello
> I've reworked the implementation of JVMTI breakpoints and single step. The code which sends breakpoint and single step events currently is ugly and uses unobvious logic. In the new implementation the infrastructure is much more clean and clear :)
> Main class is VMBreakPoints. It is the container for all breakpoint instrumentation and handler for all breakpoint events. A VMBreakInterface is a class for breakpoints references container. It can be used for any purpose, be it SingleStep or user breakpoints container. In VMBreakInterface breakpoints instrumentations are referenced by VMBreakPointRef.
> VMBreakPoints has handlers for native (JIT mode) and interpreter mode breakpoints. When such handler is called, the processing goes through all registered VMBreakInterface instances according to their priorities (currently two priorities are supported - SingleStep is first according to JVMTI spec about colocated events) and calls VMBreakInterface handling callback which can send an event of type which this interface supports.

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