Bug 5145

Summary: Replace dlmalloc with tcmalloc
Product: WebKit Reporter: Maciej Stachowiak <mjs>
Component: WebKit Misc.Assignee: Maciej Stachowiak <mjs>
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Description Flags
Do it (also move a bit more stuff into kxmlcore)
mjs: review-
improved version sullivan: review+

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.
Comment 3 John Sullivan 2005-09-27 13:45:44 PDT
Comment on attachment 4060 [details]
improved version

I talked with mjs about this on IRC.