Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 51354 invoked from network); 20 Dec 2007 00:24:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Dec 2007 00:24:06 -0000 Received: (qmail 34565 invoked by uid 500); 20 Dec 2007 00:23:55 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 34544 invoked by uid 500); 20 Dec 2007 00:23:55 -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 34535 invoked by uid 99); 20 Dec 2007 00:23:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2007 16:23:55 -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:23:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F406671426E for ; Wed, 19 Dec 2007 16:23:42 -0800 (PST) Message-ID: <20776444.1198110222989.JavaMail.jira@brutus> Date: Wed, 19 Dec 2007 16:23:42 -0800 (PST) From: "Ilya Leviev (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-5332) [drlvm][thread] memory leak at hysem_create at thread_native_semaphore.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 hysem_create at thread_native_semaphore.c while EIOffice run ------------------------------------------------------------------------------------------- Key: HARMONY-5332 URL: https://issues.apache.org/jira/browse/HARMONY-5332 Project: Harmony Issue Type: Bug Components: DRLVM Environment: win32 Reporter: Ilya Leviev memory leak at hysem_create at thread_native_semaphore.c while EIOffice run svn = r605216 While profiling a simple EIOffice application on Harmony using BoundsChecker, the tool detected following memory leaks. "hysem_t l" not disposed correctly while EIOffice run. Here is stack trace: Memory Leak allocated by malloc. hysem_create c:\home\os\hy2\trunk\working_vm\vm\thread\src\thread_native_semaphore.c 42 line 42: l = malloc(sizeof(HySemaphore)); hythread_struct_init c:\home\os\hy2\trunk\working_vm\vm\thread\src\thread_native_basic.c 605 hythread_create_ex c:\home\os\hy2\trunk\working_vm\vm\thread\src\thread_native_basic.c 84 jthread_create_with_function c:\home\os\hy2\trunk\working_vm\vm\vmcore\src\thread\thread_java_basic.cpp 259 jthread_create c:\home\os\hy2\trunk\working_vm\vm\vmcore\src\thread\thread_java_basic.cpp 51 Java_java_lang_VMThreadManager_start c:\home\os\hy2\trunk\working_vm\vm\vmcore\src\kernel_classes\native\java_lang_vmthreadmanager.cpp 170 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.