Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 87442 invoked from network); 18 Sep 2006 16:07:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Sep 2006 16:07:47 -0000 Received: (qmail 3314 invoked by uid 500); 18 Sep 2006 16:07:46 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 3293 invoked by uid 500); 18 Sep 2006 16:07:46 -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 3282 invoked by uid 99); 18 Sep 2006 16:07:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Sep 2006 09:07:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C13617142FA for ; Mon, 18 Sep 2006 16:03:24 +0000 (GMT) Message-ID: <6780676.1158595404788.JavaMail.jira@brutus> Date: Mon, 18 Sep 2006 09:03:24 -0700 (PDT) From: "Gregory Shimansky (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Updated: (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-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-1490?page=all ] Gregory Shimansky updated HARMONY-1490: --------------------------------------- Attachment: single-step-fixes.patch The patch with fixes. > [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 > Attachments: single-step-fixes.patch > > > 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