Commit 7522c741 authored by Pavel Vyssotski's avatar Pavel Vyssotski
Browse files

ART: Fix DDM client hang transmitting native heap dump with MALLOC_IMPL=dlmalloc



VM acting as a DDM client hangs transmitting native heap segment data when dlmalloc
is used instead of default jemalloc. dlmalloc_inspect_all disallow any memory allocation
inside heap callback. So cannot send any data walking the heap, the same for logging.
Callback function also needs to acquire the heap bitmap lock. Finally, need to indicate
end of a space to flush data.

Change-Id: I9541962268dd58c2a4237fe1550c9e153252ab4a
Signed-off-by: default avatarPavel Vyssotski <pavel.n.vyssotski@intel.com>
parent ab6572b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment