Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:napobear
webkitgtk
webkitgtk-commit-size.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File webkitgtk-commit-size.patch of Package webkitgtk
Index: webkitgtk-2.4.10/Source/JavaScriptCore/interpreter/JSStack.cpp =================================================================== --- webkitgtk-2.4.10.orig/Source/JavaScriptCore/interpreter/JSStack.cpp +++ webkitgtk-2.4.10/Source/JavaScriptCore/interpreter/JSStack.cpp @@ -58,6 +58,7 @@ JSStack::JSStack(VM& vm, size_t capacity { ASSERT(capacity && isPageAligned(capacity)); + size_t commitsize = pageSize(); m_reservation = PageReservation::reserve(roundUpAllocationSize(capacity * sizeof(Register), commitSize()), OSAllocator::JSVMStackPages); updateStackLimit(highAddress()); m_commitEnd = highAddress(); @@ -87,6 +88,7 @@ bool JSStack::growSlowCase(Register* new // Compute the chunk size of additional memory to commit, and see if we // have it is still within our budget. If not, we'll fail to grow and // return false. + size_t commitsize = pageSize(); long delta = roundUpAllocationSize(reinterpret_cast<char*>(m_commitEnd) - reinterpret_cast<char*>(newEnd), commitSize()); if (reinterpret_cast<char*>(m_commitEnd) - delta <= reinterpret_cast<char*>(m_useableEnd)) return false; @@ -143,6 +145,7 @@ void JSStack::enableErrorStackReserve() void JSStack::disableErrorStackReserve() { + size_t commitsize = pageSize(); char* useableEnd = reinterpret_cast<char*>(reservationEnd()) + commitSize(); m_useableEnd = reinterpret_cast_ptr<Register*>(useableEnd); Index: webkitgtk-2.4.10/Source/JavaScriptCore/heap/CopiedBlock.h =================================================================== --- webkitgtk-2.4.10.orig/Source/JavaScriptCore/heap/CopiedBlock.h +++ webkitgtk-2.4.10/Source/JavaScriptCore/heap/CopiedBlock.h @@ -81,7 +81,7 @@ public: size_t size(); size_t capacity(); - static const size_t blockSize = 32 * KB; + static const size_t blockSize = 64 * KB; bool hasWorkList(); CopyWorkList& workList();
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor