Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 95408 invoked from network); 21 Sep 2006 18:58:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2006 18:58:04 -0000 Received: (qmail 34230 invoked by uid 500); 21 Sep 2006 18:58:04 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 34134 invoked by uid 500); 21 Sep 2006 18:58:04 -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 34123 invoked by uid 99); 21 Sep 2006 18:58:04 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Sep 2006 11:58:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:59343] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 3D/D1-03726-BB0E2154 for ; Thu, 21 Sep 2006 11:58:03 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2AB4E4190CA for ; Thu, 21 Sep 2006 18:54:24 +0000 (GMT) Message-ID: <9067248.1158864864171.JavaMail.jira@brutus> Date: Thu, 21 Sep 2006 11:54:24 -0700 (PDT) From: "Geir Magnusson Jr (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Commented: (HARMONY-1490) [drlvm] Fixes for SingleStep implementation. Corrected phase, state structure, addded m2n transition In-Reply-To: <10405026.1158595202337.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-1490?page=comments#action_12436607 ] Geir Magnusson Jr commented on HARMONY-1490: -------------------------------------------- Yep, and it still doesn't work. I did apply Pavel's HARMONY-1507, and began to see something. I'll therefore apply yours, and if nothing breaks, commit and move on to 1507 and the rest of the chain. > [drlvm] Fixes for SingleStep implementation. Corrected phase, state structure, addded m2n transition > ---------------------------------------------------------------------------------------------------- > > Key: HARMONY-1490 > URL: http://issues.apache.org/jira/browse/HARMONY-1490 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Gregory Shimansky > Assigned To: Geir Magnusson Jr > Attachments: single-step-fixes.patch, test.zip > > > I've created several bugfixes for SingleStep event implementation. > It appears that keeping enabled flag in JVMTISingleStepState struct is not possible because it may be deallocated when thread finishes. So I decided that enabled flag should be the pointer to this struct itself. > Another bugfix is that SingleStep shouldn't be sent in phases other than LIVE. This also fixes the problem when SingleStep is sent for VM startup and agent cannot use any JNI function yet. > Another bugfix is for breakpoint. For JIT mode I've added an m2n transition to allow stack iterator to work correctly inside of breakpoint callback. Otherwise it didn't see the upper Java frames. > On windows the test I am using still crashes when it finishes, but at least I can see SingleStep events coming to the agent. -- 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