harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Pervov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-4914) [drlvm] increasing default sizes for code and vtable pools give a little boost
Date Tue, 27 Nov 2007 17:01:43 GMT

     [ 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.


Mime
View raw message