| 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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 #endif | 424 #endif |
| 425 #if OS(WINDOWS) | 425 #if OS(WINDOWS) |
| 426 #ifndef WIN32_LEAN_AND_MEAN | 426 #ifndef WIN32_LEAN_AND_MEAN |
| 427 #define WIN32_LEAN_AND_MEAN | 427 #define WIN32_LEAN_AND_MEAN |
| 428 #endif | 428 #endif |
| 429 #include <windows.h> | 429 #include <windows.h> |
| 430 #endif | 430 #endif |
| 431 | 431 |
| 432 #if OS(DARWIN) | 432 #if OS(DARWIN) |
| 433 #include "MallocZoneSupport.h" | 433 #include "MallocZoneSupport.h" |
| 434 #include <wtf/HashSet.h> | 434 #include "wtf/HashSet.h" |
| 435 #include <wtf/Vector.h> | 435 #include "wtf/Vector.h" |
| 436 #endif | 436 #endif |
| 437 | 437 |
| 438 #if HAVE(DISPATCH_H) | 438 #if HAVE(DISPATCH_H) |
| 439 #include <dispatch/dispatch.h> | 439 #include <dispatch/dispatch.h> |
| 440 #endif | 440 #endif |
| 441 | 441 |
| 442 #ifdef __has_include | 442 #ifdef __has_include |
| 443 #if __has_include(<System/pthread_machdep.h>) | 443 #if __has_include(<System/pthread_machdep.h>) |
| 444 | 444 |
| 445 #include <System/pthread_machdep.h> | 445 #include <System/pthread_machdep.h> |
| (...skipping 3714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4160 void FastMallocZone::init() | 4160 void FastMallocZone::init() |
| 4161 { | 4161 { |
| 4162 static FastMallocZone zone(pageheap, &thread_heaps, static_cast<TCMalloc_Cen
tral_FreeListPadded*>(central_cache), &span_allocator, &threadheap_allocator); | 4162 static FastMallocZone zone(pageheap, &thread_heaps, static_cast<TCMalloc_Cen
tral_FreeListPadded*>(central_cache), &span_allocator, &threadheap_allocator); |
| 4163 } | 4163 } |
| 4164 | 4164 |
| 4165 #endif // OS(DARWIN) | 4165 #endif // OS(DARWIN) |
| 4166 | 4166 |
| 4167 } // namespace WTF | 4167 } // namespace WTF |
| 4168 | 4168 |
| 4169 #endif // FORCE_SYSTEM_MALLOC | 4169 #endif // FORCE_SYSTEM_MALLOC |
| OLD | NEW |