Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 81159 invoked from network); 15 Aug 2007 10:55:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Aug 2007 10:55:53 -0000 Received: (qmail 20770 invoked by uid 500); 15 Aug 2007 10:55:51 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 20747 invoked by uid 500); 15 Aug 2007 10:55:51 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 20738 invoked by uid 99); 15 Aug 2007 10:55:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 03:55:51 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 10:56:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 08A947141EF for ; Wed, 15 Aug 2007 03:55:31 -0700 (PDT) Message-ID: <29045995.1187175331031.JavaMail.jira@brutus> Date: Wed, 15 Aug 2007 03:55:31 -0700 (PDT) From: "Pavel Ozhdikhin (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-2084) [drlvm][jit][opt] Jitrino.OPT inliner can cause native SOE exception for some large methods MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-2084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Ozhdikhin updated HARMONY-2084: ------------------------------------- Attachment: 2084.patch The patch is attached. The test passed with this patch in all modes. > [drlvm][jit][opt] Jitrino.OPT inliner can cause native SOE exception for some large methods > ------------------------------------------------------------------------------------------- > > Key: HARMONY-2084 > URL: https://issues.apache.org/jira/browse/HARMONY-2084 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Mikhail Fursov > Assignee: Mikhail Fursov > Priority: Minor > Attachments: 2084.patch, Test.java > > > The inliner in Jitrino.OPT compiler stops inlining if bytecode size of the current method is > some threshold. > Sometimes (for synchronized methods) the bytecode size is small, but the size of the resulted IR is very large. As the result Inliner can produce very large linear IR graphs that cause SOE in recursive algorithms like DFS > The proposal is to add one more threshold to inliner: stop inlining if the number of nodes in IR is greater then some const. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.