HomePhabricator

Don't truncate HphpArray's allocation size to 32 bits

Authored by swtaarrs.

Description

Don't truncate HphpArray's allocation size to 32 bits

For arrays that hold ~150 million or more elements, we need to
allocate more than 4GB of ram. computeAllocBytes used to return a uint32_t so
we were truncating the real size and allocating a lot less memory than we
needed.

Reviewed By: @jdelong

Differential Revision: D1016732

Details

Committed
Sara GolemonOct 19 2013, 5:12 AM
Parents
rOSHDdf4a7e74dad6: Move function prologues out of tx64
Branches
Unknown
Tags
Unknown
ChangeId
None

Event Timeline