Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 44174 invoked from network); 26 Oct 2006 06:34:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 06:34:26 -0000 Received: (qmail 25110 invoked by uid 500); 25 Oct 2006 10:02:31 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 25085 invoked by uid 500); 25 Oct 2006 10:02:31 -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 25074 invoked by uid 99); 25 Oct 2006 10:02:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2006 03:02:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2006 03:02:17 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DE689714201 for ; Wed, 25 Oct 2006 03:01:17 -0700 (PDT) Message-ID: <6380235.1161770477908.JavaMail.root@brutus> Date: Wed, 25 Oct 2006 03:01:17 -0700 (PDT) From: "Alexei Kaigorodov (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Updated: (HARMONY-1959) HLO static path removes code that can produce exceptions if it supposed as dead In-Reply-To: <292465.1161769518785.JavaMail.root@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 [ http://issues.apache.org/jira/browse/HARMONY-1959?page=all ] Alexei Kaigorodov updated HARMONY-1959: --------------------------------------- Attachment: patch2bug1959 The solution is to mark IR instructions like Op_NewArray as able to throw exceptions. This prevent dead code eliminator from deleting such instructions. > HLO static path removes code that can produce exceptions if it supposed as dead > ------------------------------------------------------------------------------- > > Key: HARMONY-1959 > URL: http://issues.apache.org/jira/browse/HARMONY-1959 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: all ia32 based platforms > Reporter: Alexei Kaigorodov > Priority: Minor > Attachments: patch2bug1959, Test.java > > > If result of expression "new int[n]" is not used, the expression is considered as dead code and is deleted, regardless of possible exceptions like Out of Memory and Negative Array Size. -- 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