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-5361) [drlvm][thread] memory leaks at init_group_list at thread_init.c while EIOffice run
Date Mon, 31 Dec 2007 14:54:43 GMT
[drlvm][thread] memory leaks at init_group_list at thread_init.c while EIOffice run 
------------------------------------------------------------------------------------

                 Key: HARMONY-5361
                 URL: https://issues.apache.org/jira/browse/HARMONY-5361
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: win32
            Reporter: Ilya Leviev


memory leaks at init_group_list at thread_init.c while EIOffice run 

svn = r607443

While profiling a simple EIOffice application on Harmony using 
BoundsChecker, the tool detected following memory leaks. 

lock_table are not disposed correctly while EIOffice startup-shutdown. 

Here is stack trace: 

Memory Leaks allocated by malloc and calloc.

init_group_list	c:\home\hy\1\trunk\working_vm\vm\thread\src\thread_init.c	299/302/304

line 299: lock_table = (HyFatLockTable *) malloc (sizeof(HyFatLockTable));
line 302: lock_table->tables[0] = (hythread_monitor_t *)calloc(HY_FAT_TABLE_ENTRIES,sizeof(hythread_monitor_t));
line 304: lock_table->live_objs = (unsigned char *)calloc(HY_FAT_TABLE_ENTRIES,sizeof(unsigned
char)); 

hythread_init	c:\home\hy\1\trunk\working_vm\vm\thread\src\thread_init.c	153
hythread_lib_create	c:\home\hy\1\trunk\working_vm\vm\thread\src\thread_init.c	94
DllMain	c:\home\hy\1\trunk\working_vm\vm\thread\src\thread_init.c	59
_DllMainCRTStartup	f:\vs70builds\3077\vc\crtbld\crt\src\crtdll.c	272


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