Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 35279 invoked from network); 20 Nov 2007 08:32:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2007 08:32:02 -0000 Received: (qmail 85891 invoked by uid 500); 20 Nov 2007 08:31:49 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 85869 invoked by uid 500); 20 Nov 2007 08:31:49 -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 85860 invoked by uid 99); 20 Nov 2007 08:31:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 00:31:49 -0800 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.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 08:31:47 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D1B6F1A9832; Tue, 20 Nov 2007 00:31:40 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r596567 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/helper_inliner.cpp Date: Tue, 20 Nov 2007 08:31:40 -0000 To: commits@harmony.apache.org From: mfursov@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071120083140.D1B6F1A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mfursov Date: Tue Nov 20 00:31:39 2007 New Revision: 596567 URL: http://svn.apache.org/viewvc?rev=596567&view=rev Log: [drlvm][jit] making 'hotness_percent' value for magic helpers inclusive for inlining Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/helper_inliner.cpp Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/helper_inliner.cpp URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/helper_inliner.cpp?rev=596567&r1=596566&r2=596567&view=diff ============================================================================== --- harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/helper_inliner.cpp (original) +++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/helper_inliner.cpp Tue Nov 20 00:31:39 2007 @@ -179,7 +179,7 @@ continue; } HelperConfig* config = iconf->second; - if (!config->doInlining || config->hotnessPercentToInline >= nodePercent) { + if (!config->doInlining || nodePercent < config->hotnessPercentToInline) { continue; } MethodDesc* md = HelperInliner::findHelperMethod(cc->getVMCompilationInterface(), helperId);