harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Pervov (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-5364) [drlvm][jit]memory leak at init_helper_map at rt_helper_info.cpp while HWA run
Date Tue, 18 Mar 2008 08:05:24 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-5364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pavel Pervov reassigned HARMONY-5364:
-------------------------------------

    Assignee: Pavel Pervov

> [drlvm][jit]memory leak at init_helper_map at rt_helper_info.cpp  while HWA run 
> --------------------------------------------------------------------------------
>
>                 Key: HARMONY-5364
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5364
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Ilya Leviev
>            Assignee: Pavel Pervov
>
> memory leak at init_helper_map at rt_helper_info.cpp  while HWA run 
> svn = r607443
> While profiling a simple HWA on Harmony using 
> BoundsChecker, the tool detected following memory leaks. 
> HelperInfoMap are not disposed correctly while HWA run. 
> Here is stack trace: 
> 1)
> Memory Leak allocated by global_operator_new
> Allocation Call Stack - Thread 0 [0x0590]
> _Tree_nod<class std::_Tmap_traitsstruct JIT_RT_Function_Entry *> >,0> >::_Node>
c:\program files\microsoft visual studio .net 2003\vc7\include\xmemory	34
> _Tree_nod<class std::_Tmap_traits<enum VM_RT_SUPPORT,struct JIT_RT_Function_Entry
	c:\program files\microsoft visual studio .net 2003\vc7\include\xmemory	137
> _Tree<class std::_Tmap_traits<enum VM_RT_SUPPORT,struct JIT_RT_Function_Entry...
	c:\program files\microsoft visual studio .net 2003\vc7\include\xtree	1131
> _Tree<class std::_Tmap_traits<enum VM_RT_SUPPORT,struct JIT_RT_Function_Entry...
::_Insert	c:\program files\microsoft visual studio .net 2003\vc7\include\xtree	915
> pair<class std::_Tree<class std::_Tmap_traits<enum VM_RT_SUPPORT,struct JIT_RT_Function_Entry
..>::in	c:\program files\microsoft visual studio .net 2003\vc7\include\xtree	501
> init_helper_map	c:\home\hy\1\trunk\working_vm\vm\vmcore\src\jit\rt_helper_info.cpp	282
>  line 282:  map->insert(HelperInfoMap::value_type(hid, jit_rt_function_entries + i));
> $E1	c:\home\hy\1\trunk\working_vm\vm\vmcore\src\jit\rt_helper_info.cpp	288
>  line 288: static HelperInfoMap *helper_map = init_helper_map();
> _initterm	f:\vs70builds\3077\vc\crtbld\crt\src\crt0dat.c	599
> _CRT_INIT	f:\vs70builds\3077\vc\crtbld\crt\src\crtdll.c	184
> _DllMainCRTStartup	f:\vs70builds\3077\vc\crtbld\crt\src\crtdll.c	266
> 2) 
> Memory Leak allocated by global_operator_new.
> init_helper_map	c:\home\hy\1\trunk\working_vm\vm\vmcore\src\jit\rt_helper_info.cpp	278
>  line 278: HelperInfoMap *map = new HelperInfoMap();
> $E1	c:\home\hy\1\trunk\working_vm\vm\vmcore\src\jit\rt_helper_info.cpp	288
> _initterm	f:\vs70builds\3077\vc\crtbld\crt\src\crt0dat.c	599
> _CRT_INIT	f:\vs70builds\3077\vc\crtbld\crt\src\crtdll.c	184
> _DllMainCRTStartup	f:\vs70builds\3077\vc\crtbld\crt\src\crtdll.c	266

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