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-5308) [drlvm][jet] memory leak at Jet::compile_with_params at compiler.cpp while EIOffice run
Date Thu, 13 Dec 2007 14:51:42 GMT
[drlvm][jet] memory leak at Jet::compile_with_params at compiler.cpp while EIOffice run
---------------------------------------------------------------------------------------

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


memory leak at Jet::compile_with_params at compiler.cpp while EIOffice run

svn = r603631 

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

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

Here is stack trace: 

Memory Leak allocated by global_operator_new_array.


Jet::Compiler::compile	c:\home\os\hy\trunk\working_vm\vm\jitrino\src\jet\compiler.cpp	512

line 512:  m_infoBlock.profiler_counters_map =  new uint32[m_infoBlock.num_profiler_counters];

Jet::compile_with_params	c:\home\os\hy\trunk\working_vm\vm\jitrino\src\jet\jet.cpp	517
JIT_compile_method_with_params	c:\home\os\hy\trunk\working_vm\vm\jitrino\src\vm\jitinterface.cpp
256
compile_method_with_params	c:\home\os\hy\trunk\working_vm\vm\vmcore\include\dll_jit_intf.h
62
compile_do_compilation_jit	c:\home\os\hy\trunk\working_vm\vm\vmcore\src\jit\compile.cpp	656
vm_compile_method	c:\home\os\hy\trunk\working_vm\vm\vmcore\src\class_support\c_interface.cpp
2622
compileMethod	c:\home\os\hy\trunk\working_vm\vm\em\src\drlemimpl.cpp	556
CompileMethod	c:\home\os\hy\trunk\working_vm\vm\em\src\em_intf.cpp	49
compile_do_compilation	c:\home\os\hy\trunk\working_vm\vm\vmcore\src\jit\compile.cpp	772




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