You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2007/06/01 11:18:16 UTC
[jira] Assigned: (HARMONY-4010) [drlvm][jit] Memory management
improvement in Jitrino.OPT compiler
[ https://issues.apache.org/jira/browse/HARMONY-4010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Varlamov reassigned HARMONY-4010:
----------------------------------------
Assignee: Alexey Varlamov
> [drlvm][jit] Memory management improvement in Jitrino.OPT compiler
> ------------------------------------------------------------------
>
> Key: HARMONY-4010
> URL: https://issues.apache.org/jira/browse/HARMONY-4010
> Project: Harmony
> Issue Type: Improvement
> Components: DRLVM
> Reporter: Mikhail Fursov
> Assignee: Alexey Varlamov
> Attachments: mm.diff
>
>
> The MemoryManager class has "initial size" parameter and it's usage is misleading.
> Once set this parameter works as default arena size for all arenas allocated by this memory manager.
> I did a code review and see that in 90% of cases this parameter is not used correctly and default value is used (4k per arena).
> The problem is that sometimes the initial size is set to very large values for a global memory managers (like 128*method size which is about 5Mb for a large methods ). Once this parameter is set, every new arena in memory manager will have the same size, making JIT to ask a large memory chunks from OS when it's not needed and causing a problems in environments with high memory pressure.
> I propose removing this parameter at all.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.