Thanks for the information! So to enable it, I only need to add
'--enable-jemalloc' in build, right? And this works for both malloc/free
and new/delete, right? Is '--enable-jemalloc' a new feature in gnash-0.8.3?
Where are the white papers related? I am interested to read about. Thanks!
Best regards,
Hong Yu
strk wrote:
On Wed, Oct 08, 2008 at 04:07:03PM +0800, Hong Yu wrote:
Hello,
Could I have some questions about 'jmalloc' in Gnash code? So it can be
used to relace malloc/free and new/delete code, right? What are the
advantages of jmalloc over the normal malloc/free and new/delete? How to
free memory when using jmalloc for memory allocation? Would anyone be
interested in giving a brief introduction? Thanks!
Use of jemalloc is completely transparent to other code, there's nothing
special you should do to use it. It's magick (surprises me as well).
As for why it's more performant seek on the web, you should find white
papers or similar.
--strk;
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev