commit | 9aa1543e9c1cdd8373985e16e4610fd84caafd85 | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Tue May 03 09:37:54 2016 -0700 |
committer | Jason Evans <jasone@canonware.com> | Tue May 03 09:37:54 2016 -0700 |
tree | d996e8796bfa8f86f27e51ae416e79946793eeba | |
parent | 108c4a11e96d57fd71751efa23ab986a236a0c7d [diff] |
Update mallocx() OOM test to deal with smaller hugemax. Depending on virtual memory resource limits, it is necessary to attempt allocating three maximally sized objects to trigger OOM rather than just two, since the maximum supported size is slightly less than half the total virtual memory address space. This fixes a test failure that was introduced by 0c516a00c4cb28cff55ce0995f756b5aae074c9e (Make *allocx() size class overflow behavior defined.). This resolves #379.