start fixing tests that fail without gc
Haldean Brown
6 years ago
90 | 90 |
assert(xl_env_free(&env) == OK);
|
91 | 91 |
assert(v.tree->refcount == 1);
|
92 | 92 |
assert(u.refcount == 1);
|
|
93 |
assert(xl_release(v.tree) == OK);
|
93 | 94 |
|
94 | 95 |
for (i = 0; i < N_TEST_URIS; i++)
|
95 | 96 |
free(uris[i].name);
|
70 | 70 |
{
|
71 | 71 |
assert(xl_value_new(&vals[i]) == 0);
|
72 | 72 |
}
|
|
73 |
for (i = 0; i < XL_GC_PAGE_SIZE * 2; i++)
|
|
74 |
{
|
|
75 |
assert(xl_release(vals[i]) == 0);
|
|
76 |
}
|
73 | 77 |
|
74 | 78 |
xl_gc_get_stats(&gc_stats);
|
75 | 79 |
#ifdef XL_GC_DEBUG
|