harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4914) [drlvm] increasing default sizes for code and vtable pools give a little boost
Date Fri, 12 Oct 2007 05:17:51 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-4914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534220

Alexey Varlamov commented on HARMONY-4914:

Hmm, this would increase minimal footprint for ~9Mb. How much boost it gives?
BTW, currently pools grow linearly; so more sophisticated approach would be making the reallocation
size adaptive.
Also, fragmentation can be reduced via use of virtual memory allocation (vs current malloc):
reserve bigger arenas but commit with smaller chunks as needed.

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

View raw message