|Summary:||Replace dlmalloc with tcmalloc|
|Product:||WebKit||Reporter:||Maciej Stachowiak <mjs>|
|Component:||WebKit Misc.||Assignee:||Maciej Stachowiak <mjs>|
|OS:||OS X 10.4|
Description Maciej Stachowiak 2005-09-26 23:51:53 PDT
Google's tcmalloc is fully threadsafe but just as fast as dlmalloc. This means we can avoid having two copies and won't need to follow weird threadsafety disciplines.
Comment 1 Maciej Stachowiak 2005-09-27 00:19:03 PDT
Created attachment 4057 [details] Do it (also move a bit more stuff into kxmlcore)
Comment 2 Maciej Stachowiak 2005-09-27 02:04:22 PDT
Created attachment 4060 [details] improved version I forgot to fall back to normal malloc in debug builds. Also fixed a few things that were ifdef'd wrong.