Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 51297 invoked from network); 27 Nov 2007 17:02:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2007 17:02:07 -0000 Received: (qmail 93163 invoked by uid 500); 27 Nov 2007 17:01:55 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 93140 invoked by uid 500); 27 Nov 2007 17:01:55 -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 93128 invoked by uid 99); 27 Nov 2007 17:01:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 09:01:55 -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.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 17:02:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 59C9E714208 for ; Tue, 27 Nov 2007 09:01:43 -0800 (PST) Message-ID: <32837672.1196182903357.JavaMail.jira@brutus> Date: Tue, 27 Nov 2007 09:01:43 -0800 (PST) From: "Pavel Pervov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-4914) [drlvm] increasing default sizes for code and vtable pools give a little boost In-Reply-To: <10140845.1191944510608.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 [ https://issues.apache.org/jira/browse/HARMONY-4914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Pervov updated HARMONY-4914: ---------------------------------- Attachment: code-size.patch I've slightly increased default pool sizes and, which is more important, added 4 additional -XX switches: vm.code_pool_size.stubs - initial size of code pool for stubs vm.vtable_pool_size - initial size of vtable pool (both compressed and uncompressed vtables) vm.code_pool_size.bootstrap_loader - initial size of code pool for bootstrap class loader vm.code_pool_size.user_loader - initial size of code pool for user class loaders > [drlvm] increasing default sizes for code and vtable pools give a little boost > ------------------------------------------------------------------------------- > > Key: HARMONY-4914 > URL: https://issues.apache.org/jira/browse/HARMONY-4914 > Project: Harmony > Issue Type: Improvement > Components: DRLVM > Environment: windows, linux > Reporter: Rustem Rafikov > Priority: Minor > Attachments: code-size.patch, code-size.patch > > > I suggest to increase the default sizes for vtable and code pools (see vm/vmcore/include/mem_alloc.h). > It reduces fragmentation of data and thus gives a little boost on specjbb2005 (as example). > For example, the default code pool size for bootstrap classloader is 256K. Final size is about 2Mb, so it is reallocated ~6-7 times. The numbers for default classloader are: 64K - default, ~800K - final, it is realocated 11-12 times. > The patch is attached. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.