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-5300) [drlvm][jitrino] memory leak at MemoryManager::_alloc_arena at arena.cpp while EIOffice run
Date Thu, 13 Dec 2007 13:17:42 GMT
[drlvm][jitrino] memory leak at MemoryManager::_alloc_arena at arena.cpp while EIOffice run
-------------------------------------------------------------------------------------------

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


memory leak at MemoryManager::_alloc_arena at arena.cpp while EIOffice run

svn = r603631 

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

"space" are not disposed correctly while EIOffice startup-shutdown.
The issue also reproduced while HWA run.

Here is stack trace: 

alloc_arena	c:\home\os\hy\trunk\working_vm\vm\jitrino\src\shared\arena.cpp	59

L 59: void *space = malloc(size + header_size);


MemoryManager::_alloc_arena	c:\home\os\hy\trunk\working_vm\vm\jitrino\src\shared\memorymanager.cpp
122
MemoryManager::alloc	c:\home\os\hy\trunk\working_vm\vm\jitrino\src\shared\memorymanager.cpp
221
operator new[]	c:\home\os\hy\trunk\working_vm\vm\jitrino\src\shared\memorymanager.h	73
PMF::walk	c:\home\os\hy\trunk\working_vm\vm\jitrino\src\main\pmf.cpp	2026
PMF::init	c:\home\os\hy\trunk\working_vm\vm\jitrino\src\main\pmf.cpp	1591
Jitrino::Init	c:\home\os\hy\trunk\working_vm\vm\jitrino\src\main\jitrino.cpp	149





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