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-5353) [drlvm][thread] memory leak at hythread_monitor_init_with_name at thread_native_fat_monitor.c while EIOffice run
Date Thu, 27 Dec 2007 00:55:43 GMT
[drlvm][thread] memory leak at hythread_monitor_init_with_name at thread_native_fat_monitor.c
while EIOffice run
----------------------------------------------------------------------------------------------------------------

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


memory leak at hythread_monitor_init_with_name at thread_native_fat_monitor.c while EIOffice
run

svn = r606901 

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

"mon" are not disposed correctly while EIOffice startup-shutdown.

Here is stack trace: 

Memory Leak allocated by calloc.

hythread_monitor_init_with_name	c:\home\os\h3\trunk\working_vm\vm\thread\src\thread_native_fat_monitor.c
49

 line 49: mon = calloc(1, sizeof(HyThreadMonitor));

hythread_inflate_lock	c:\home\os\h3\trunk\working_vm\vm\thread\src\thread_native_thin_monitor.c
669
jthread_monitor_timed_wait	c:\home\os\h3\trunk\working_vm\vm\vmcore\src\thread\thread_java_monitors.cpp
331
Java_java_lang_VMThreadManager_wait	c:\home\os\h3\trunk\working_vm\vm\vmcore\src\kernel_classes\native\java_lang_vmthreadmanager.cpp
205




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