Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 39004 invoked from network); 7 Nov 2006 16:31:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Nov 2006 16:31:19 -0000 Received: (qmail 97081 invoked by uid 500); 7 Nov 2006 16:31:26 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 97049 invoked by uid 500); 7 Nov 2006 16:31:26 -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 97016 invoked by uid 99); 7 Nov 2006 16:31:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2006 08:31:26 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Tue, 07 Nov 2006 08:31:14 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E8D2C71430F for ; Tue, 7 Nov 2006 08:30:53 -0800 (PST) Message-ID: <26943217.1162917053951.JavaMail.jira@brutus> Date: Tue, 7 Nov 2006 08:30:53 -0800 (PST) From: "Mikhail Fursov (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Commented: (HARMONY-2084) [drlvm][opt] Jitrino.OPT inliner can cause native SOE exception for some large methods In-Reply-To: <1183626.1162909851514.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 [ http://issues.apache.org/jira/browse/HARMONY-2084?page=comments#action_12447849 ] Mikhail Fursov commented on HARMONY-2084: ----------------------------------------- I prefer a constant. You will never have a heuristic what stack size is enough to finish the compilation for the given IR. > [drlvm][opt] Jitrino.OPT inliner can cause native SOE exception for some large methods > -------------------------------------------------------------------------------------- > > Key: HARMONY-2084 > URL: http://issues.apache.org/jira/browse/HARMONY-2084 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Mikhail Fursov > Priority: Minor > Attachments: 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. - 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