Changeset 127484 in webkit
- Timestamp:
- Sep 4, 2012, 12:35:54 PM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r127479 r127484 1 2012-09-04 Zoltan Horvath <[email protected]> 2 3 Extend the coverage of the Custom Allocation Framework in WTF and in JavaScriptCore 4 https://bugs.webkit.org/show_bug.cgi?id=95737 5 6 Reviewed by Eric Seidel. 7 8 Add WTF_MAKE_FAST_ALLOCATED macro to the following class declarations because these are instantiated by operator new. 9 10 * wtf/CryptographicallyRandomNumber.cpp: CryptographicallyRandomNumber is instantiated at wtf/CryptographicallyRandomNumber.cpp:162. 11 12 * heap/MachineStackMarker.cpp: 13 (MachineThreads::Thread): Thread is instantiated at heap/MachineStackMarker.cpp:196. 14 * jit/ExecutableAllocatorFixedVMPool.cpp: 15 (FixedVMPoolExecutableAllocator): FixedVMPoolExecutableAllocator is instantiated at jit/ExecutableAllocatorFixedVMPool.cpp:111 16 * parser/SourceProviderCache.h: 17 (SourceProviderCache): SourceProviderCache is instantiated at parser/SourceProvider.h:49. 18 * parser/SourceProviderCacheItem.h: 19 (SourceProviderCacheItem): SourceProviderCacheItem is instantiated at parser/Parser.cpp:843. 20 * runtime/GCActivityCallback.h: 21 (GCActivityCallback): GCActivityCallback is instantiated at runtime/GCActivityCallback.h:96. 22 * tools/CodeProfile.h: 23 (CodeProfile): CodeProfile is instantiated at JavaScriptCore/tools/CodeProfiling.cpp:140. 24 1 25 2012-09-04 Mark Hahnenberg <[email protected]> 2 26 -
trunk/Source/JavaScriptCore/heap/MachineStackMarker.cpp
r126476 r127484 108 108 109 109 class MachineThreads::Thread { 110 WTF_MAKE_FAST_ALLOCATED; 110 111 public: 111 112 Thread(const PlatformThread& platThread, void* base) -
trunk/Source/JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp
r122166 r127484 49 49 50 50 class FixedVMPoolExecutableAllocator : public MetaAllocator { 51 WTF_MAKE_FAST_ALLOCATED; 51 52 public: 52 53 FixedVMPoolExecutableAllocator() -
trunk/Source/JavaScriptCore/parser/SourceProviderCache.h
r104318 r127484 35 35 36 36 class SourceProviderCache { 37 WTF_MAKE_FAST_ALLOCATED; 37 38 public: 38 39 SourceProviderCache() : m_contentByteSize(0) {} -
trunk/Source/JavaScriptCore/parser/SourceProviderCacheItem.h
r124729 r127484 34 34 35 35 class SourceProviderCacheItem { 36 WTF_MAKE_FAST_ALLOCATED; 36 37 public: 37 38 SourceProviderCacheItem(int closeBraceLine, int closeBracePos) -
trunk/Source/JavaScriptCore/runtime/GCActivityCallback.h
r121381 r127484 43 43 44 44 class GCActivityCallback : public HeapTimer { 45 WTF_MAKE_FAST_ALLOCATED; 45 46 public: 46 47 virtual void didAllocate(size_t) { } -
trunk/Source/JavaScriptCore/tools/CodeProfile.h
r106197 r127484 34 34 35 35 class CodeProfile { 36 WTF_MAKE_FAST_ALLOCATED; 36 37 public: 37 38 CodeProfile(const SourceCode& source, CodeProfile* parent) -
trunk/Source/WTF/ChangeLog
r127374 r127484 1 2012-09-04 Zoltan Horvath <[email protected]> 2 3 Extend the coverage of the Custom Allocation Framework in WTF and in JavaScriptCore 4 https://bugs.webkit.org/show_bug.cgi?id=95737 5 6 Reviewed by Eric Seidel. 7 8 Add WTF_MAKE_FAST_ALLOCATED macro to the following class declarations because these are instantiated by operator new. 9 10 * wtf/CryptographicallyRandomNumber.cpp: CryptographicallyRandomNumber is instantiated at wtf/CryptographicallyRandomNumber.cpp:162. 11 * wtf/MediaTime.h: MediaTime is instantiated at wtf/MediaTime.cpp:288. 12 * wtf/MetaAllocator.h: 13 (MetaAllocatorTracker): MetaAllocatorTracker is instantiated at JavaScriptCore/tools/CodeProfiling.cpp:120. 14 * wtf/ThreadingPthreads.cpp: 15 (PthreadState): PthreadState is instantiated at wtf/ThreadingPthreads.cpp:165. 16 * wtf/text/AtomicString.cpp: 17 (AtomicStringTable): AtomicStringTable is instantiated at wtf/text/AtomicString.cpp:43. 18 1 19 2012-09-01 Mark Lam <[email protected]> 2 20 -
trunk/Source/WTF/wtf/CryptographicallyRandomNumber.cpp
r111778 r127484 51 51 52 52 class ARC4RandomNumberGenerator { 53 WTF_MAKE_FAST_ALLOCATED; 53 54 public: 54 55 ARC4RandomNumberGenerator(); -
trunk/Source/WTF/wtf/MediaTime.h
-
Property svn:executable
set to
*
r123982 r127484 27 27 */ 28 28 29 #include "FastAllocBase.h" 30 29 31 #include <cmath> 30 32 #include <limits> … … 35 37 36 38 class WTF_EXPORT_PRIVATE MediaTime { 39 WTF_MAKE_FAST_ALLOCATED; 37 40 public: 38 41 enum { -
Property svn:executable
set to
-
trunk/Source/WTF/wtf/MetaAllocator.h
r111778 r127484 45 45 46 46 class MetaAllocatorTracker { 47 WTF_MAKE_FAST_ALLOCATED; 47 48 public: 48 49 void notify(MetaAllocatorHandle*); -
trunk/Source/WTF/wtf/ThreadingPthreads.cpp
r126926 r127484 63 63 64 64 class PthreadState { 65 WTF_MAKE_FAST_ALLOCATED; 65 66 public: 66 67 enum JoinableState { -
trunk/Source/WTF/wtf/text/AtomicString.cpp
r125958 r127484 38 38 39 39 class AtomicStringTable { 40 WTF_MAKE_FAST_ALLOCATED; 40 41 public: 41 42 static AtomicStringTable* create()
Note:
See TracChangeset
for help on using the changeset viewer.