Changeset 240860 in webkit for trunk/Source/JavaScriptCore/runtime/VM.cpp
- Timestamp:
- Feb 1, 2019, 11:33:21 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/VM.cpp
r240859 r240860 269 269 , jsValueGigacageAllocator(std::make_unique<GigacageAlignedMemoryAllocator>(Gigacage::JSValue)) 270 270 , auxiliaryHeapCellType(std::make_unique<HeapCellType>(CellAttributes(DoesNotNeedDestruction, HeapCell::Auxiliary))) 271 , cellJSValueOOBHeapCellType(std::make_unique<HeapCellType>(CellAttributes(DoesNotNeedDestruction, HeapCell::JSCell)))272 271 , immutableButterflyHeapCellType(std::make_unique<HeapCellType>(CellAttributes(DoesNotNeedDestruction, HeapCell::JSCellWithInteriorPointers))) 273 , cell DangerousBitsHeapCellType(std::make_unique<HeapCellType>(CellAttributes(DoesNotNeedDestruction, HeapCell::JSCell)))272 , cellHeapCellType(std::make_unique<HeapCellType>(CellAttributes(DoesNotNeedDestruction, HeapCell::JSCell))) 274 273 , destructibleCellHeapCellType(std::make_unique<HeapCellType>(CellAttributes(NeedsDestruction, HeapCell::JSCell))) 275 274 , stringHeapCellType(std::make_unique<JSStringHeapCellType>()) … … 282 281 , jsValueGigacageAuxiliarySpace("JSValue Gigacage Auxiliary", heap, auxiliaryHeapCellType.get(), jsValueGigacageAllocator.get()) 283 282 , immutableButterflyJSValueGigacageAuxiliarySpace("ImmutableButterfly Gigacage JSCellWithInteriorPointers", heap, immutableButterflyHeapCellType.get(), jsValueGigacageAllocator.get()) 284 , cell DangerousBitsSpace("JSCell DangerousBits", heap, cellDangerousBitsHeapCellType.get(), fastMallocAllocator.get())285 , jsValueGigacageCellSpace("JSValue Gigacage JSCell", heap, cell JSValueOOBHeapCellType.get(), jsValueGigacageAllocator.get())283 , cellSpace("JSCell", heap, cellHeapCellType.get(), fastMallocAllocator.get()) 284 , jsValueGigacageCellSpace("JSValue Gigacage JSCell", heap, cellHeapCellType.get(), jsValueGigacageAllocator.get()) 286 285 , destructibleCellSpace("Destructible JSCell", heap, destructibleCellHeapCellType.get(), fastMallocAllocator.get()) 287 286 , stringSpace("JSString", heap, stringHeapCellType.get(), fastMallocAllocator.get()) … … 289 288 , eagerlySweptDestructibleObjectSpace("Eagerly Swept JSDestructibleObject", heap, destructibleObjectHeapCellType.get(), fastMallocAllocator.get()) 290 289 , segmentedVariableObjectSpace("JSSegmentedVariableObjectSpace", heap, segmentedVariableObjectHeapCellType.get(), fastMallocAllocator.get()) 291 , asyncFunctionSpace ISO_SUBSPACE_INIT(heap, cell JSValueOOBHeapCellType.get(), JSAsyncFunction)292 , asyncGeneratorFunctionSpace ISO_SUBSPACE_INIT(heap, cell JSValueOOBHeapCellType.get(), JSAsyncGeneratorFunction)293 , boundFunctionSpace ISO_SUBSPACE_INIT(heap, cell JSValueOOBHeapCellType.get(), JSBoundFunction)290 , asyncFunctionSpace ISO_SUBSPACE_INIT(heap, cellHeapCellType.get(), JSAsyncFunction) 291 , asyncGeneratorFunctionSpace ISO_SUBSPACE_INIT(heap, cellHeapCellType.get(), JSAsyncGeneratorFunction) 292 , boundFunctionSpace ISO_SUBSPACE_INIT(heap, cellHeapCellType.get(), JSBoundFunction) 294 293 , callbackFunctionSpace ISO_SUBSPACE_INIT(heap, destructibleObjectHeapCellType.get(), JSCallbackFunction) 295 , customGetterSetterFunctionSpace ISO_SUBSPACE_INIT(heap, cell JSValueOOBHeapCellType.get(), JSCustomGetterSetterFunction)296 , executableToCodeBlockEdgeSpace ISO_SUBSPACE_INIT(heap, cell DangerousBitsHeapCellType.get(), ExecutableToCodeBlockEdge)297 , functionSpace ISO_SUBSPACE_INIT(heap, cell JSValueOOBHeapCellType.get(), JSFunction)298 , generatorFunctionSpace ISO_SUBSPACE_INIT(heap, cell JSValueOOBHeapCellType.get(), JSGeneratorFunction)294 , customGetterSetterFunctionSpace ISO_SUBSPACE_INIT(heap, cellHeapCellType.get(), JSCustomGetterSetterFunction) 295 , executableToCodeBlockEdgeSpace ISO_SUBSPACE_INIT(heap, cellHeapCellType.get(), ExecutableToCodeBlockEdge) 296 , functionSpace ISO_SUBSPACE_INIT(heap, cellHeapCellType.get(), JSFunction) 297 , generatorFunctionSpace ISO_SUBSPACE_INIT(heap, cellHeapCellType.get(), JSGeneratorFunction) 299 298 , inferredValueSpace ISO_SUBSPACE_INIT(heap, destructibleCellHeapCellType.get(), InferredValue) 300 299 , internalFunctionSpace ISO_SUBSPACE_INIT(heap, destructibleObjectHeapCellType.get(), InternalFunction) 301 300 , nativeExecutableSpace ISO_SUBSPACE_INIT(heap, destructibleCellHeapCellType.get(), NativeExecutable) 302 , nativeStdFunctionSpace ISO_SUBSPACE_INIT(heap, cell JSValueOOBHeapCellType.get(), JSNativeStdFunction)301 , nativeStdFunctionSpace ISO_SUBSPACE_INIT(heap, cellHeapCellType.get(), JSNativeStdFunction) 303 302 #if JSC_OBJC_API_ENABLED 304 303 , objCCallbackFunctionSpace ISO_SUBSPACE_INIT(heap, destructibleObjectHeapCellType.get(), ObjCCallbackFunction) … … 313 312 #if ENABLE(WEBASSEMBLY) 314 313 , webAssemblyCodeBlockSpace ISO_SUBSPACE_INIT(heap, webAssemblyCodeBlockHeapCellType.get(), JSWebAssemblyCodeBlock) 315 , webAssemblyFunctionSpace ISO_SUBSPACE_INIT(heap, cell JSValueOOBHeapCellType.get(), WebAssemblyFunction)316 , webAssemblyWrapperFunctionSpace ISO_SUBSPACE_INIT(heap, cell JSValueOOBHeapCellType.get(), WebAssemblyWrapperFunction)314 , webAssemblyFunctionSpace ISO_SUBSPACE_INIT(heap, cellHeapCellType.get(), WebAssemblyFunction) 315 , webAssemblyWrapperFunctionSpace ISO_SUBSPACE_INIT(heap, cellHeapCellType.get(), WebAssemblyWrapperFunction) 317 316 #endif 318 317 , executableToCodeBlockEdgesWithConstraints(executableToCodeBlockEdgeSpace)
Note:
See TracChangeset
for help on using the changeset viewer.