| OLD | NEW |
| 1 // Copyright (c) 2005, 2007, Google Inc. | 1 // Copyright (c) 2005, 2007, Google Inc. |
| 2 // All rights reserved. | 2 // All rights reserved. |
| 3 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserv
ed. | 3 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserv
ed. |
| 4 // | 4 // |
| 5 // Redistribution and use in source and binary forms, with or without | 5 // Redistribution and use in source and binary forms, with or without |
| 6 // modification, are permitted provided that the following conditions are | 6 // modification, are permitted provided that the following conditions are |
| 7 // met: | 7 // met: |
| 8 // | 8 // |
| 9 // * Redistributions of source code must retain the above copyright | 9 // * Redistributions of source code must retain the above copyright |
| 10 // notice, this list of conditions and the following disclaimer. | 10 // notice, this list of conditions and the following disclaimer. |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 #include "Compiler.h" | 280 #include "Compiler.h" |
| 281 #include "TCPackedCache.h" | 281 #include "TCPackedCache.h" |
| 282 #include "TCPageMap.h" | 282 #include "TCPageMap.h" |
| 283 #include "TCSpinLock.h" | 283 #include "TCSpinLock.h" |
| 284 #include "TCSystemAlloc.h" | 284 #include "TCSystemAlloc.h" |
| 285 #include <algorithm> | 285 #include <algorithm> |
| 286 #include <errno.h> | 286 #include <errno.h> |
| 287 #include <pthread.h> | 287 #include <pthread.h> |
| 288 #include <stdarg.h> | 288 #include <stdarg.h> |
| 289 #include <stddef.h> | 289 #include <stddef.h> |
| 290 #include <stdio.h> | |
| 291 #if OS(UNIX) | 290 #if OS(UNIX) |
| 292 #include <unistd.h> | 291 #include <unistd.h> |
| 293 #endif | 292 #endif |
| 294 #if OS(WINDOWS) | 293 #if OS(WINDOWS) |
| 295 #ifndef WIN32_LEAN_AND_MEAN | 294 #ifndef WIN32_LEAN_AND_MEAN |
| 296 #define WIN32_LEAN_AND_MEAN | 295 #define WIN32_LEAN_AND_MEAN |
| 297 #endif | 296 #endif |
| 298 #include <windows.h> | 297 #include <windows.h> |
| 299 #endif | 298 #endif |
| 300 | 299 |
| (...skipping 3591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3892 void FastMallocZone::init() | 3891 void FastMallocZone::init() |
| 3893 { | 3892 { |
| 3894 static FastMallocZone zone(pageheap, &thread_heaps, static_cast<TCMalloc_Cen
tral_FreeListPadded*>(central_cache), &span_allocator, &threadheap_allocator); | 3893 static FastMallocZone zone(pageheap, &thread_heaps, static_cast<TCMalloc_Cen
tral_FreeListPadded*>(central_cache), &span_allocator, &threadheap_allocator); |
| 3895 } | 3894 } |
| 3896 | 3895 |
| 3897 #endif // OS(DARWIN) | 3896 #endif // OS(DARWIN) |
| 3898 | 3897 |
| 3899 } // namespace WTF | 3898 } // namespace WTF |
| 3900 | 3899 |
| 3901 #endif // FORCE_SYSTEM_MALLOC | 3900 #endif // FORCE_SYSTEM_MALLOC |
| OLD | NEW |