harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Leviev (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5332) [drlvm][thread] memory leak at hysem_create at thread_native_semaphore.c while EIOffice run
Date Thu, 20 Dec 2007 00:23:42 GMT
[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.


Mime
View raw message