Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 2045 invoked from network); 25 Dec 2007 17:06:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Dec 2007 17:06:06 -0000 Received: (qmail 77825 invoked by uid 500); 25 Dec 2007 17:05:55 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 77802 invoked by uid 500); 25 Dec 2007 17:05:54 -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 77793 invoked by uid 99); 25 Dec 2007 17:05:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Dec 2007 09:05:54 -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, 25 Dec 2007 17:05:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 01B3171422E for ; Tue, 25 Dec 2007 09:05:42 -0800 (PST) Message-ID: <31957578.1198602342997.JavaMail.jira@brutus> Date: Tue, 25 Dec 2007 09:05:42 -0800 (PST) From: "Ilya Leviev (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5345) [drlvm][gc] memory leak at gc_space_tuner_initialize at space_tuner.cpp while EIOffice run In-Reply-To: <11362639.1198602222997.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-5345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ilya Leviev updated HARMONY-5345: --------------------------------- Attachment: HARMONY-5345.patch > [drlvm][gc] memory leak at gc_space_tuner_initialize at space_tuner.cpp while EIOffice run > ------------------------------------------------------------------------------------------ > > Key: HARMONY-5345 > URL: https://issues.apache.org/jira/browse/HARMONY-5345 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: win32 > Reporter: Ilya Leviev > Attachments: HARMONY-5345.patch > > > memory leak at gc_space_tuner_initialize at space_tuner.cpp while EIOffice run > svn = r605216 > While profiling a simple EIOffice application on Harmony using > BoundsChecker, the tool detected following memory leaks. > "tuner" not disposed correctly while EIOffice run. > The issue also reproduced while HWA run. > Here is stack trace: > Memory Leak allocated by malloc. > gc_space_tuner_initialize c:\home\os\hy2\trunk\working_vm\vm\gc_gen\src\common\space_tuner.cpp 477 > line 477: Space_Tuner* tuner = (Space_Tuner*)STD_MALLOC(sizeof(Space_Tuner)); > gc_gen_initialize c:\home\os\hy2\trunk\working_vm\vm\gc_gen\src\gen\gen.cpp 238 > gc_init c:\home\os\hy2\trunk\working_vm\vm\gc_gen\src\common\gc_for_vm.cpp 102 > vm_init1 c:\home\os\hy2\trunk\working_vm\vm\vmcore\src\init\vm_init.cpp 789 > JNI_CreateJavaVM c:\home\os\hy2\trunk\working_vm\vm\vmcore\src\jni\jni.cpp 499 > C:\home\os\hy2\trunk\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\java.exe!0x0000228d > C:\home\os\hy2\trunk\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\java.exe!0x00001b2d > main C:\home\os\hy2\trunk\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\java.exe!0x000000b3 > C:\home\os\hy2\trunk\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\java.exe!0x000045b4 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.