Go to file
tedbo 9d8be5485c get_malloc_leak_info: Fix assumption that totalMemory out parameter was initialized to zero.
The get_malloc_leak_info() currently asssumes that the totalMemory out parameter
was pre-initialized to zero before the routine is called. If it is not then the
accumulated totalMemory value will be incorrect. It is likely that many callers
will simply allocate totalMemory on the stack with no initialization and assume
that get_malloc_leak_info will set the proper value.

As an example, the caller in frameworks/base/core/jni/android_os_Debug.cpp
calls get_malloc_leak_info() with the address uninitiazed stack variable
for totalMemory. It is probably best to fix this in get_malloc_leak_info.

Change-Id: I84c927c3781419585794726115b7d34d8fdd24ae
2010-10-05 13:23:28 -07:00
libc get_malloc_leak_info: Fix assumption that totalMemory out parameter was initialized to zero. 2010-10-05 13:23:28 -07:00
libdl Added support for dladdr() 2010-03-17 16:11:37 -05:00
libm libm: remove aliasing issue. 2010-09-27 17:35:48 +02:00
libstdc++ Add missing SMP barriers to libstdc++ 2010-07-07 14:18:20 -07:00
libthread_db Fix libthread_db linkage 2010-09-02 14:00:59 -07:00
linker add /vendor support 2010-09-19 03:39:13 -07:00
.gitignore Merge memory checking functionality from sandbox 2010-02-16 11:43:18 -08:00
Android.mk Apply https://android-git.corp.google.com/g/60855 to dalvik-dev. 2010-08-18 00:33:52 -07:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:04:02 -08:00
MAINTAINERS added and modified libm to support SuperH architecture 2009-08-31 16:25:42 +09:00
ThirdPartyProject.prop add meta-files about 3rd party projects 2010-07-16 11:41:33 -07:00