* On systems which can't merge extents, tests that call this function generate * a lot of dirty memory very quickly. Purging between cycles mitigates * potential OOM on e.g. 32-bit Windows. */
| 8 | * potential OOM on e.g. 32-bit Windows. |
| 9 | */ |
| 10 | static void |
| 11 | purge(void) { |
| 12 | assert_d_eq(mallctl("arena.0.purge", NULL, NULL, NULL, 0), 0, |
| 13 | "Unexpected mallctl error"); |
| 14 | } |
| 15 | |
| 16 | TEST_BEGIN(test_alignment_errors) { |
| 17 | size_t alignment; |