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:25:43 UTC

[jira] Created: (HARMONY-5333) [drlvm][thread] memory leak at hylatch_create at thread_native_latch.c while EIOffice run

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