[Webkit-unassigned] [Bug 33570] [BREWMP] Map FastMalloc to BREW memory allocator

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 8 19:41:05 PST 2010


--- Comment #11 from Kwang Yul Seo <kwangyul.seo at gmail.com>  2010-02-08 19:41:04 PST ---
(In reply to comment #10)
> So BREW has a stdlib.h which defines malloc?  But it just doesn't have a
> malloc() implementation?
> In which case, why aren't we just providing a malloc implementation?  Why
> doesn't BREW?

The situation is a bit complicated here. BREW does have malloc() implementation
as compilers provide it. However, malloc() does not work correctly because the
BREW loader does not initialize the heap base address and size properly. BREW
applications must use macros like MALLOC and FREE to access the system heap.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list