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-5345) [drlvm][gc] memory leak at gc_space_tuner_initialize at space_tuner.cpp while EIOffice run
Date Tue, 25 Dec 2007 17:03:42 GMT
[drlvm][gc] memory leak at gc_space_tuner_initialize at space_tuner.cpp while EIOffice run
------------------------------------------------------------------------------------------

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


memory leak at gc_space_tuner_initialize at space_tuner.cpp while EIOffice run

svn = r605216 

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

"tuner" not disposed correctly while EIOffice run. 
The issue also reproduced while HWA run. 

Here is stack trace: 

Memory Leak allocated by malloc. 

gc_space_tuner_initialize	c:\home\os\hy2\trunk\working_vm\vm\gc_gen\src\common\space_tuner.cpp
477

line 477: Space_Tuner* tuner = (Space_Tuner*)STD_MALLOC(sizeof(Space_Tuner));

gc_gen_initialize	c:\home\os\hy2\trunk\working_vm\vm\gc_gen\src\gen\gen.cpp	238
gc_init	c:\home\os\hy2\trunk\working_vm\vm\gc_gen\src\common\gc_for_vm.cpp	102
vm_init1	c:\home\os\hy2\trunk\working_vm\vm\vmcore\src\init\vm_init.cpp	789
JNI_CreateJavaVM	c:\home\os\hy2\trunk\working_vm\vm\vmcore\src\jni\jni.cpp	499
	C:\home\os\hy2\trunk\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\java.exe!0x0000228d

	C:\home\os\hy2\trunk\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\java.exe!0x00001b2d

main	C:\home\os\hy2\trunk\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\java.exe!0x000000b3

	C:\home\os\hy2\trunk\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\java.exe!0x000045b4




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