Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 83127 invoked from network); 13 Dec 2006 10:45:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Dec 2006 10:45:49 -0000 Received: (qmail 12034 invoked by uid 500); 13 Dec 2006 10:45:52 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 12005 invoked by uid 500); 13 Dec 2006 10:45:52 -0000 Mailing-List: contact dev-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 dev@harmony.apache.org Received: (qmail 11930 invoked by uid 99); 13 Dec 2006 10:45:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 02:45:52 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gcjhd-harmony-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 02:45:41 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1GuRbi-0005qS-IL for dev@harmony.apache.org; Wed, 13 Dec 2006 11:45:02 +0100 Received: from msfwpr01.ims.intel.com ([62.118.80.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Dec 2006 11:45:02 +0100 Received: from egor.pasko by msfwpr01.ims.intel.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Dec 2006 11:45:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@harmony.apache.org From: Egor Pasko Subject: Re: [doc] are KNOWN ISSUES and TODO items valid? Date: 13 Dec 2006 16:38:59 +0600 Lines: 61 Message-ID: References: <32CD23D8C6B1454C9120C1525D521D6780F021@nnsmsx411.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: msfwpr01.ims.intel.com User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Sender: news X-Virus-Checked: Checked by ClamAV on apache.org On the 0x23D day of Apache Harmony Mikhail Fursov wrote: > Are there any samples to reproduce JIT problem? If not I can look through > my archives.. I do not have any at the moment. Would be great. Need a sequence of potentially exceptional instructions that fill in the maximum method size. > On 12 Dec 2006 19:55:54 +0600, Egor Pasko wrote: > > > > On the 0x23C day of Apache Harmony Alexey Varlamov wrote: > > > 11 Dec 2006 21:20:23 +0600, Egor Pasko : > > > > On the 0x23A day of Apache Harmony Alexey Varlamov wrote: > > > > > I've looked through "Known issues" page and dropped few items, which > > > > > were resolved already: > > > > > - Java assertions support > > > > > - StackOverflowError support for JIT mode > > > > > > > > why? > > > > we do not have SOE 100% safe yet, JIT algorithms can be caught with > > > > SOE on large bytecodes. We should estimate how much stack we can take > > > > before each graph traversal activity. Not done yet and leads to a > > crash. > > > > > > > The difference is, a technical imperfection vs missing feature (which > > > was originally listed) - so feel free to add a detailed TODO record > > > instead. > > > > fine, > > > > I made a JIT task from that under the new chapter "JIT Stability": > > > > 4. Avoiding stack overflow in JIT C++ code > > > > Problem: If compiled method's size is large or in case of aggressive > > inlining parameters are set in Jitrino.OPT the latter can crash with > > stack overflow while recursively traversing the CFG (=Control Flow > > Graph). > > > > Task: To avoid stack overflows, estimate the amount of space allocated > > by each optimization stage, check that it does not exceed the > > available free space on the stack. VM provides necessary functionality > > to check that via VM helper function get_available_stack_size(). In > > dangerous situations stop inlining or return JIT_FAILURE so that other > > JITs (for example, Jitrino.JET) can pick the compilation task. > > > > http://wiki.apache.org/harmony/JIT_Development_Tasks > > > > if there is a JIRA issue for that, feel free to add a reference. > > > > -- > > Egor Pasko > > > > > > > -- > Mikhail Fursov -- Egor Pasko