]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/src/engine/boehm_gc/tests/middle.c
2 * Test at the boundary between small and large objects.
3 * Inspired by a test case from Zoltan Varga.
12 GC_all_interior_pointers
= 0;
15 for (i
= 0; i
< 20000; ++i
) {
16 GC_malloc_atomic (4096);
19 for (i
= 0; i
< 20000; ++i
) {
20 GC_malloc_atomic (2048);
23 printf("Final heap size is %ld\n", GC_get_heap_size());