Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 40170 invoked from network); 23 Sep 2006 12:44:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Sep 2006 12:44:10 -0000 Received: (qmail 93974 invoked by uid 500); 23 Sep 2006 12:44:09 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 93951 invoked by uid 500); 23 Sep 2006 12:44:09 -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 93940 invoked by uid 99); 23 Sep 2006 12:44:09 -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 05:44:09 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:33850] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 06/6A-27820-81C25154 for ; Sat, 23 Sep 2006 05:44:08 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 525187142FE for ; Sat, 23 Sep 2006 12:40:26 +0000 (GMT) Message-ID: <20734827.1159015226334.JavaMail.jira@brutus> Date: Sat, 23 Sep 2006 05:40:26 -0700 (PDT) From: "Geir Magnusson Jr (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Resolved: (HARMONY-1534) [drlvm] [jvmti] Fixed initialization of JVMTI property, access to local variables in JIT mode and removed wrong assertion for single step start In-Reply-To: <24748203.1158881004008.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-1534?page=all ] Geir Magnusson Jr resolved HARMONY-1534. ---------------------------------------- Resolution: Fixed r449225 Ubuntu 6 - smoke, c-unit and some kernel > [drlvm] [jvmti] Fixed initialization of JVMTI property, access to local variables in JIT mode and removed wrong assertion for single step start > ----------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HARMONY-1534 > URL: http://issues.apache.org/jira/browse/HARMONY-1534 > Project: Harmony > Issue Type: Improvement > Components: DRLVM > Reporter: Gregory Shimansky > Assigned To: Geir Magnusson Jr > Attachments: HARMONY-1534-jvmti-bufixes.patch > > > This small patch fixed the following bugs in JVMTI > - It used to be interpreter the default mode when JVMTI is enabled because JIT functionality was not implemented to a usable extent. When JVMTI was enabled on the command line interpreter was enabled automatically. Later then it was required to create a special property for JIT, it was added just in the place where interpreter property was set. But this isn't really correct since if -Dvm.use_interpreter property is specified explicitly on the command line then JVMTI vm.jvmti_enabled property ins't set. The fix just removes check for interpreter property because now we're trying to fully support JVMTI in both JIT and interpreter modes. > - Getting and setting local variables in JIT mode is fixed. The null reference case was not handled correctly in the code. A reference which has a null object is not allowed in drlvm, it should be a null pointer or a heap pointer which is contained inside of a reference. The ugly interface with JIT always requires a pointer, so setting a null reference for it requires creating a local pointer pointing to a null :) > - When starting and stopping single step when all threads are suspended thread manager iterator sometimes gives out threads with null vm_thread (VM TLS pointer). It appears that these threads are just started ones. So there is no need for assertion that threads is not alive (in thread manager terms it is alive, just birthing). So I've removed assertions and added comments. -- 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