int slot;
g_assert (type >= 0 && type < INTERNAL_MEM_MAX);
- g_assert (fixed_type_allocator_indexes [type] == -1);
slot = index_for_size (size);
g_assert (slot >= 0);
- fixed_type_allocator_indexes [type] = slot;
+ if (fixed_type_allocator_indexes [type] == -1)
+ fixed_type_allocator_indexes [type] = slot;
+ else
+ g_assert (fixed_type_allocator_indexes [type] == slot);
}
void*
{
/*
static char const *internal_mem_names [] = { "pin-queue", "fragment", "section", "scan-starts",
- "fin-table", "finalize-entry", "dislink-table",
+ "fin-table", "finalize-entry", "finalize-ready-entry", "dislink-table",
"dislink", "roots-table", "root-record", "statistics",
"remset", "gray-queue", "store-remset", "marksweep-tables",
"marksweep-block-info", "ephemeron-link", "worker-data",