diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-11-05 09:52:12 +0100 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-11-05 09:52:12 +0100 |
commit | e3c215b542793ea74e6b2a5ffee2a96695ea9d8c (patch) | |
tree | 017052e0d12dff1336ade4fc660d4b1dc626dc33 /tests/test_memory.cpp | |
parent | aa1a61c59f2064592d3000a241b01f7ff4bbe0a8 (diff) |
Ensure selected page size works with allocate_string
Previously setting a large page size (i.e. 1M) would cause dynamic string
allocation to assert spuriously. A page size of 64K guarantees that all
offsets fit into 16 bits.
Diffstat (limited to 'tests/test_memory.cpp')
0 files changed, 0 insertions, 0 deletions