You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ilya Leviev (JIRA)" <ji...@apache.org> on 2007/12/20 01:23:42 UTC

[jira] Created: (HARMONY-5332) [drlvm][thread] memory leak at hysem_create at thread_native_semaphore.c while EIOffice run

[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.