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-5333) [drlvm][thread] memory leak at hylatch_create at thread_native_latch.c while EIOffice run
Date Thu, 20 Dec 2007 00:25:43 GMT
[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.


Mime
View raw message