Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 97199 invoked from network); 21 Sep 2006 19:06:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2006 19:06:05 -0000 Received: (qmail 48704 invoked by uid 500); 21 Sep 2006 19:06:04 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 48683 invoked by uid 500); 21 Sep 2006 19:06: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 48672 invoked by uid 99); 21 Sep 2006 19:06: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 12:06:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:58989] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 9D/02-03726-B92E2154 for ; Thu, 21 Sep 2006 12:06:03 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 09E5D7142F6 for ; Thu, 21 Sep 2006 19:02:24 +0000 (GMT) Message-ID: <1796208.1158865344037.JavaMail.jira@brutus> Date: Thu, 21 Sep 2006 12:02:24 -0700 (PDT) From: "Geir Magnusson Jr (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Closed: (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=all ] Geir Magnusson Jr closed HARMONY-1490. -------------------------------------- > [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