Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 80101 invoked from network); 17 Nov 2006 11:26:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Nov 2006 11:26:07 -0000 Received: (qmail 29348 invoked by uid 500); 17 Nov 2006 11:26:15 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 29305 invoked by uid 500); 17 Nov 2006 11:26:15 -0000 Mailing-List: contact harmony-dev-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-dev@incubator.apache.org Received: (qmail 29296 invoked by uid 99); 17 Nov 2006 11:26:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Nov 2006 03:26:15 -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; Fri, 17 Nov 2006 03:26:01 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Gl1qA-00019c-Pz for harmony-dev@incubator.apache.org; Fri, 17 Nov 2006 12:25:03 +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 ; Fri, 17 Nov 2006 12:25:02 +0100 Received: from natalya.golovleva by msfwpr01.ims.intel.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Nov 2006 12:25:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: harmony-dev@incubator.apache.org From: "Natalya Golovleva" Subject: [drlvm][jit][ia-32]escape analysis based scalar replacement Date: Fri, 17 Nov 2006 17:21:26 +0600 Lines: 47 Message-ID: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: msfwpr01.ims.intel.com X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-RFC2646: Format=Flowed; Original Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Hello all, JIT Development Tasks list among other tasks contains new optimization - EA-based scalar replacement. EA determinates for every reference object used in the method its state: local, argument escaped and global escaped. Escape analysis (EA) is already committed to harmony. Scalar replacement optimization may be done for local objects (class instances and arrays) that satisfy to: - class should not have finalizer, class instance initializer should not have side effects; - optimized array may have only one array element usage. I am going to implement EA-based scalar replacement for IA-32. The proposal is: 1.. to perform scalar replacement for specified above local objects. 2.. using devirtualization and inlining change method code to create the object only when it is used as a parameter of virtual call and perform scalar replacement for branches with inlined direct calls. Any comments are welcome. Thank you, Natalya.