-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[JSC] Use same allocator for Subspaces #47238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[JSC] Use same allocator for Subspaces #47238
Conversation
EWS run on previous version of this PR (hash e17fb36) |
e17fb36
to
ccef4fb
Compare
EWS run on previous version of this PR (hash ccef4fb) |
ccef4fb
to
e124b00
Compare
EWS run on previous version of this PR (hash e124b00) |
https://bugs.webkit.org/show_bug.cgi?id=295029 rdar://154396224 Reviewed by NOBODY (OOPS!). This patch shares the same FastMallocAlignedMemoryAllocator between IsoSubspaces so that we enable empty block stealing again. * Source/JavaScriptCore/heap/AlignedMemoryAllocator.h: * Source/JavaScriptCore/heap/CompleteSubspace.cpp: (JSC::CompleteSubspace::CompleteSubspace): * Source/JavaScriptCore/heap/CompleteSubspace.h: * Source/JavaScriptCore/heap/FastMallocAlignedMemoryAllocator.h: * Source/JavaScriptCore/heap/GigacageAlignedMemoryAllocator.h: * Source/JavaScriptCore/heap/Heap.cpp: (JSC::Heap::Heap): * Source/JavaScriptCore/heap/Heap.h: * Source/JavaScriptCore/heap/IsoSubspace.cpp: (JSC::IsoSubspace::IsoSubspace): * Source/JavaScriptCore/heap/IsoSubspace.h: * Source/JavaScriptCore/heap/MarkedBlockInlines.h: (JSC::MarkedBlock::Handle::specializedSweep): * Source/JavaScriptCore/heap/PreciseSubspace.cpp: (JSC::PreciseSubspace::PreciseSubspace): * Source/JavaScriptCore/heap/PreciseSubspace.h: * Source/JavaScriptCore/heap/StructureAlignedMemoryAllocator.h: * Source/JavaScriptCore/heap/Subspace.cpp: (JSC::Subspace::Subspace): (JSC::Subspace::initialize): * Source/JavaScriptCore/heap/Subspace.h: (JSC::Subspace::alignedMemoryAllocator const): * Source/JavaScriptCore/runtime/DirectArguments.h: * Source/JavaScriptCore/runtime/JSLexicalEnvironment.h: (JSC::JSLexicalEnvironment::subspaceFor): * Source/JavaScriptCore/runtime/VM.h: (JSC::VM::cellSpace): (JSC::VM::variableSizedCellSpace): Deleted. * Source/JavaScriptCore/wasm/js/JSWebAssemblyArray.h: * Source/JavaScriptCore/wasm/js/JSWebAssemblyStruct.h: * Source/WebCore/bindings/js/WebCoreJSClientData.h:
e124b00
to
edd7ee9
Compare
EWS run on current version of this PR (hash edd7ee9) |
Safer C++ Build #41688 (e124b00)❌ Found 2 failing files with 2 issues. Please address these issues before landing. See WebKit Guidelines for Safer C++ Programming. |
Safer C++ Build #41696 (edd7ee9)❌ Found 2 failing files with 2 issues. Please address these issues before landing. See WebKit Guidelines for Safer C++ Programming. |
edd7ee9
edd7ee9