Changeset 225314 in webkit for trunk/Source/JavaScriptCore/runtime/VM.cpp
- Timestamp:
- Nov 29, 2017, 8:39:50 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/VM.cpp
r224487 r225314 40 40 #include "CustomGetterSetter.h" 41 41 #include "DFGWorklist.h" 42 #include "DirectEvalExecutable.h" 42 43 #include "Disassembler.h" 43 44 #include "ErrorInstance.h" … … 48 49 #include "FunctionCodeBlock.h" 49 50 #include "FunctionConstructor.h" 51 #include "FunctionExecutable.h" 50 52 #include "GCActivityCallback.h" 51 53 #include "GetterSetter.h" … … 58 60 #include "Identifier.h" 59 61 #include "IncrementalSweeper.h" 62 #include "IndirectEvalExecutable.h" 60 63 #include "InferredTypeTable.h" 61 64 #include "Interpreter.h" … … 65 68 #include "JSArray.h" 66 69 #include "JSCInlines.h" 70 #include "JSDestructibleObjectHeapCellType.h" 67 71 #include "JSFixedArray.h" 68 72 #include "JSFunction.h" … … 74 78 #include "JSPromiseDeferred.h" 75 79 #include "JSPropertyNameEnumerator.h" 80 #include "JSSegmentedVariableObjectHeapCellType.h" 76 81 #include "JSScriptFetchParameters.h" 77 82 #include "JSScriptFetcher.h" … … 79 84 #include "JSSetIterator.h" 80 85 #include "JSSourceCode.h" 86 #include "JSStringHeapCellType.h" 81 87 #include "JSTemplateRegistryKey.h" 82 88 #include "JSWebAssembly.h" 89 #include "JSWebAssemblyCodeBlockHeapCellType.h" 83 90 #include "JSWithScope.h" 84 91 #include "LLIntData.h" … … 87 94 #include "MinimumReservedZoneSize.h" 88 95 #include "ModuleProgramCodeBlock.h" 96 #include "ModuleProgramExecutable.h" 97 #include "NativeExecutable.h" 89 98 #include "NativeStdFunctionCell.h" 90 99 #include "Nodes.h" … … 92 101 #include "ProfilerDatabase.h" 93 102 #include "ProgramCodeBlock.h" 103 #include "ProgramExecutable.h" 94 104 #include "PromiseDeferredTimer.h" 95 105 #include "PropertyMapHashTable.h" … … 172 182 , primitiveGigacageAllocator(std::make_unique<GigacageAlignedMemoryAllocator>(Gigacage::Primitive)) 173 183 , jsValueGigacageAllocator(std::make_unique<GigacageAlignedMemoryAllocator>(Gigacage::JSValue)) 174 , primitiveGigacageAuxiliarySpace("Primitive Gigacage Auxiliary", heap, AllocatorAttributes(DoesNotNeedDestruction, HeapCell::Auxiliary), primitiveGigacageAllocator.get()) 175 , jsValueGigacageAuxiliarySpace("JSValue Gigacage Auxiliary", heap, AllocatorAttributes(DoesNotNeedDestruction, HeapCell::Auxiliary), jsValueGigacageAllocator.get()) 176 , cellSpace("JSCell", heap, AllocatorAttributes(DoesNotNeedDestruction, HeapCell::JSCell), fastMallocAllocator.get()) 177 , jsValueGigacageCellSpace("JSValue Gigacage JSCell", heap, AllocatorAttributes(DoesNotNeedDestruction, HeapCell::JSCell), jsValueGigacageAllocator.get()) 178 , destructibleCellSpace("Destructible JSCell", heap, AllocatorAttributes(NeedsDestruction, HeapCell::JSCell), fastMallocAllocator.get()) 179 , stringSpace("JSString", heap, fastMallocAllocator.get()) 180 , destructibleObjectSpace("JSDestructibleObject", heap, fastMallocAllocator.get()) 181 , eagerlySweptDestructibleObjectSpace("Eagerly Swept JSDestructibleObject", heap, fastMallocAllocator.get()) 182 , segmentedVariableObjectSpace("JSSegmentedVariableObjectSpace", heap, fastMallocAllocator.get()) 184 , auxiliaryHeapCellType(std::make_unique<HeapCellType>(AllocatorAttributes(DoesNotNeedDestruction, HeapCell::Auxiliary))) 185 , cellHeapCellType(std::make_unique<HeapCellType>(AllocatorAttributes(DoesNotNeedDestruction, HeapCell::JSCell))) 186 , destructibleCellHeapCellType(std::make_unique<HeapCellType>(AllocatorAttributes(NeedsDestruction, HeapCell::JSCell))) 187 , stringHeapCellType(std::make_unique<JSStringHeapCellType>()) 188 , destructibleObjectHeapCellType(std::make_unique<JSDestructibleObjectHeapCellType>()) 189 , segmentedVariableObjectHeapCellType(std::make_unique<JSSegmentedVariableObjectHeapCellType>()) 183 190 #if ENABLE(WEBASSEMBLY) 184 , webAssemblyCodeBlockSpace("JSWebAssemblyCodeBlockSpace", heap, fastMallocAllocator.get()) 185 #endif 191 , webAssemblyCodeBlockHeapCellType(std::make_unique<JSWebAssemblyCodeBlockHeapCellType>()) 192 #endif 193 , primitiveGigacageAuxiliarySpace("Primitive Gigacage Auxiliary", heap, auxiliaryHeapCellType.get(), primitiveGigacageAllocator.get()) 194 , jsValueGigacageAuxiliarySpace("JSValue Gigacage Auxiliary", heap, auxiliaryHeapCellType.get(), jsValueGigacageAllocator.get()) 195 , cellSpace("JSCell", heap, cellHeapCellType.get(), fastMallocAllocator.get()) 196 , jsValueGigacageCellSpace("JSValue Gigacage JSCell", heap, cellHeapCellType.get(), jsValueGigacageAllocator.get()) 197 , destructibleCellSpace("Destructible JSCell", heap, destructibleCellHeapCellType.get(), fastMallocAllocator.get()) 198 , stringSpace("JSString", heap, stringHeapCellType.get(), fastMallocAllocator.get()) 199 , destructibleObjectSpace("JSDestructibleObject", heap, destructibleObjectHeapCellType.get(), fastMallocAllocator.get()) 200 , eagerlySweptDestructibleObjectSpace("Eagerly Swept JSDestructibleObject", heap, destructibleObjectHeapCellType.get(), fastMallocAllocator.get()) 201 , segmentedVariableObjectSpace("JSSegmentedVariableObjectSpace", heap, segmentedVariableObjectHeapCellType.get(), fastMallocAllocator.get()) 202 #if ENABLE(WEBASSEMBLY) 203 , webAssemblyCodeBlockSpace("JSWebAssemblyCodeBlockSpace", heap, webAssemblyCodeBlockHeapCellType.get(), fastMallocAllocator.get()) 204 #endif 205 , nativeExecutableSpace ISO_SUBSPACE_INIT(heap, destructibleCellHeapCellType.get(), NativeExecutable) 206 , directEvalExecutableSpace ISO_SUBSPACE_INIT(heap, destructibleCellHeapCellType.get(), DirectEvalExecutable) 207 , indirectEvalExecutableSpace ISO_SUBSPACE_INIT(heap, destructibleCellHeapCellType.get(), IndirectEvalExecutable) 208 , functionExecutableSpace ISO_SUBSPACE_INIT(heap, destructibleCellHeapCellType.get(), FunctionExecutable) 209 , moduleProgramExecutableSpace ISO_SUBSPACE_INIT(heap, destructibleCellHeapCellType.get(), ModuleProgramExecutable) 210 , programExecutableSpace ISO_SUBSPACE_INIT(heap, destructibleCellHeapCellType.get(), ProgramExecutable) 186 211 , vmType(vmType) 187 212 , clientData(0)
Note:
See TracChangeset
for help on using the changeset viewer.