Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 51662 invoked from network); 20 Dec 2007 00:26:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Dec 2007 00:26:04 -0000 Received: (qmail 36262 invoked by uid 500); 20 Dec 2007 00:25:53 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 36234 invoked by uid 500); 20 Dec 2007 00:25:53 -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 36223 invoked by uid 99); 20 Dec 2007 00:25:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2007 16:25:52 -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; Thu, 20 Dec 2007 00:25:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 027BF71426E for ; Wed, 19 Dec 2007 16:25:43 -0800 (PST) Message-ID: <20233437.1198110343000.JavaMail.jira@brutus> Date: Wed, 19 Dec 2007 16:25:43 -0800 (PST) From: "Ilya Leviev (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-5333) [drlvm][thread] memory leak at hylatch_create at thread_native_latch.c while EIOffice run MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [drlvm][thread] memory leak at hylatch_create at thread_native_latch.c while EIOffice run ----------------------------------------------------------------------------------------- Key: HARMONY-5333 URL: https://issues.apache.org/jira/browse/HARMONY-5333 Project: Harmony Issue Type: Bug Components: DRLVM Environment: win32 Reporter: Ilya Leviev memory leak at hylatch_create at thread_native_latch.c while EIOffice run svn = r605216 While profiling a simple EIOffice application on Harmony using BoundsChecker, the tool detected following memory leaks. "latch" not disposed correctly while EIOffice run. Here is stack trace: Memory Leak allocated by malloc. hylatch_create c:\home\os\hy2\trunk\working_vm\vm\thread\src\thread_native_latch.c 47 line 47: latch = malloc(sizeof(HyLatch)); hythread_struct_init c:\home\os\hy2\trunk\working_vm\vm\thread\src\thread_native_basic.c 603 hythread_attach_ex c:\home\os\hy2\trunk\working_vm\vm\thread\src\thread_native_basic.c 172 hythread_attach c:\home\os\hy2\trunk\working_vm\vm\thread\src\thread_native_basic.c 219 hyport_startup_library c:\home\os\hy2\trunk\working_classlib\modules\portlib\src\main\native\port\shared\hyport.c 230 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.