You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ilya Leviev (JIRA)" <ji...@apache.org> on 2007/12/13 15:51:42 UTC

[jira] Created: (HARMONY-5308) [drlvm][jet] memory leak at Jet::compile_with_params at compiler.cpp while EIOffice run

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


[jira] Resolved: (HARMONY-5308) [drlvm][jit][jet] memory leak at Jet::compile_with_params at compiler.cpp while EIOffice run

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Fursov resolved HARMONY-5308.
-------------------------------------

    Resolution: Fixed

committed revision r646659

> [drlvm][jit][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
>            Assignee: Mikhail Fursov
>         Attachments: leak.diff
>
>
> 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.


[jira] Assigned: (HARMONY-5308) [drlvm][jit][jet] memory leak at Jet::compile_with_params at compiler.cpp while EIOffice run

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Fursov reassigned HARMONY-5308:
---------------------------------------

    Assignee: Mikhail Fursov

> [drlvm][jit][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
>            Assignee: Mikhail Fursov
>         Attachments: leak.diff
>
>
> 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.


[jira] Updated: (HARMONY-5308) [drlvm][jit][jet] memory leak at Jet::compile_with_params at compiler.cpp while EIOffice run

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Fursov updated HARMONY-5308:
------------------------------------

    Attachment: leak.diff

leak.diff - the fix

> [drlvm][jit][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
>            Assignee: Mikhail Fursov
>         Attachments: leak.diff
>
>
> 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.


[jira] Updated: (HARMONY-5308) [drlvm][jit][jet] memory leak at Jet::compile_with_params at compiler.cpp while EIOffice run

Posted by "Ilya Leviev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Leviev updated HARMONY-5308:
---------------------------------

    Priority: Major  (was: Minor)
     Summary: [drlvm][jit][jet] memory leak at Jet::compile_with_params at compiler.cpp while EIOffice run  (was: [drlvm][jet] memory leak at Jet::compile_with_params at compiler.cpp while EIOffice run)

> [drlvm][jit][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
>
> 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.