Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 52981 invoked from network); 23 Sep 2006 13:31:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Sep 2006 13:31:21 -0000 Received: (qmail 20643 invoked by uid 500); 23 Sep 2006 13:31:21 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 20536 invoked by uid 500); 23 Sep 2006 13:31:21 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 20525 invoked by uid 99); 23 Sep 2006 13:31:21 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Sep 2006 06:31:21 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:45240] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 32/8B-27820-62735154 for ; Sat, 23 Sep 2006 06:31:19 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D2F104190D2 for ; Sat, 23 Sep 2006 13:27:34 +0000 (GMT) Message-ID: <22225291.1159018054861.JavaMail.jira@brutus> Date: Sat, 23 Sep 2006 06:27:34 -0700 (PDT) From: "Geir Magnusson Jr (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Resolved: (HARMONY-1545) [drlvm] [jvmti] Unified JVMTI breakpoints infrastructure implementation In-Reply-To: <17259913.1158929302379.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-1545?page=all ] Geir Magnusson Jr resolved HARMONY-1545. ---------------------------------------- Resolution: Fixed r449232 Ubuntu 6 - smoke and c-unit > [drlvm] [jvmti] Unified JVMTI breakpoints infrastructure implementation > ----------------------------------------------------------------------- > > Key: HARMONY-1545 > URL: http://issues.apache.org/jira/browse/HARMONY-1545 > Project: Harmony > Issue Type: Improvement > Components: DRLVM > Reporter: Ilya Berezhniuk > Assigned To: Geir Magnusson Jr > 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