Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 74310 invoked from network); 1 Jun 2007 09:51:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jun 2007 09:51:15 -0000 Received: (qmail 26117 invoked by uid 500); 1 Jun 2007 09:24:40 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 26094 invoked by uid 500); 1 Jun 2007 09:24:40 -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 26070 invoked by uid 99); 1 Jun 2007 09:24:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2007 02:24:40 -0700 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; Fri, 01 Jun 2007 02:24:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 23918714185 for ; Fri, 1 Jun 2007 02:24:16 -0700 (PDT) Message-ID: <5259220.1180689856143.JavaMail.jira@brutus> Date: Fri, 1 Jun 2007 02:24:16 -0700 (PDT) From: "Alexey Varlamov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-4010) [drlvm][jit] Memory management improvement in Jitrino.OPT compiler In-Reply-To: <13223563.1180606815832.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-4010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Varlamov closed HARMONY-4010. ------------------------------------ Resolution: Fixed Applied at revision: 543442, thanks! > [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.