On arch ia64 js engine is asserting at:
Assertion failure: isPageAligned(size)
(tip/js/src/yarr/PageAllocation.h:103 static WTF::PageAllocation WTF::PageAllocation::allocate(size_t, WTF::OSAllocator::Usage, bool, bool))
Called with following parameters:
WTF::PageAllocation::allocate (size=4096, usage=UnknownUsage, writable=true, executable=false)
The isPageAligned check use systemPageSize() which returns 0x4000, size is 0x1000.
The check !(size & (pageSize() - 1)) fails because of that.
FWIW, I think there are much more places in the code that assume a page size of 4KB.
Created attachment 555079 [details] [diff] [review]
ia64 assert patch 0.1
Tested attached patch with ia64 and together with patches from:
works just fine.
Please put a checkin comment describing what the patch does either in the patch or in the bug?