Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FYI: I have solved the problem that xulrunner built on custom CE6 SDK with jemalloc cannot work.

5 views
Skip to first unread message

nullgate

unread,
Oct 24, 2009, 10:05:26 PM10/24/09
to dev-platfo...@lists.mozilla.org
Hi,

It turned out that some APIs in CE6 SDK called _msize (which is
associated with malloc/free). So, it's fairly easy to solve this problem:

1. export _msize from mozce_shunt just like malloc/free
2. add dummy APIs (exported api that calls malloc/free/_msize) to all
corrupted DLLs/EXEs
3. to make sure that no malloc/free/_msize/realloc imported from DLL, you
can use a perl script to analyze the .map files

With jemalloc enabled, I can load desktop versions of google maps and
google mail on my CE6 device now.

--

city-anchoret

0 new messages