Skip to content
Commit 9aa1543e authored by Jason Evans's avatar Jason Evans
Browse files

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
0c516a00 (Make *allocx() size class
overflow behavior defined.).

This resolves #379.
parent 108c4a11
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment