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-5311) [drlvm][class_support] memory leak at setup_as_array at class.cpp while EIOffice run
Date Thu, 13 Dec 2007 19:13:43 GMT
[drlvm][class_support] memory leak at setup_as_array at class.cpp while EIOffice run
------------------------------------------------------------------------------------

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


memory leak at setup_as_array at class.cpp while EIOffice run

svn = r603631 

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

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

Here is stack trace: 

Memory Leak allocated by malloc.

setup_as_array	c:\home\os\hy\trunk\working_vm\vm\vmcore\src\class_support\class.cpp	407

line 407: m_superinterfaces = (Class_Super*) STD_MALLOC(2 * sizeof(Class_Super));

SetupAsArray	c:\home\os\hy\trunk\working_vm\vm\vmcore\src\class_support\classloader.cpp	894
DoLoadClass	c:\home\os\hy\trunk\working_vm\vm\vmcore\src\class_support\classloader.cpp	1541
LoadClass	c:\home\os\hy\trunk\working_vm\vm\vmcore\src\class_support\classloader.cpp	1499
LoadVerifyAndPrepareClass	c:\home\os\hy\trunk\working_vm\vm\vmcore\src\class_support\classloader.cpp
381
LoadCoreClass	c:\home\os\hy\trunk\working_vm\vm\vmcore\src\class_support\environment.cpp	276
preload_class	c:\home\os\hy\trunk\working_vm\vm\vmcore\src\init\vm_init.cpp	70
preload_classes	c:\home\os\hy\trunk\working_vm\vm\vmcore\src\init\vm_init.cpp	420
vm_init1	c:\home\os\hy\trunk\working_vm\vm\vmcore\src\init\vm_init.cpp	832


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