search for: no_free_nod

Displaying 2 results from an estimated 2 matches for "no_free_nod".

Did you mean: no_free_nodes
2011 Oct 05
1
Moderating consequences of garbage collection when in C
...ong, int); Index: src/main/memory.c =================================================================== --- src/main/memory.c (revision 57169) +++ src/main/memory.c (working copy) @@ -2503,6 +2503,17 @@ R_gc_internal(0); } +void R_gc_needed(R_size_t size_needed) +{ + if (FORCE_GC || NO_FREE_NODES() || VHEAP_FREE() < size_needed) { + R_gc_internal(size_needed); + if (NO_FREE_NODES()) + mem_err_cons(); + if (VHEAP_FREE() < size_needed) + mem_err_heap(0); + } +} + static void R_gc_full(R_size_t size_needed) { num_old_gens_to_collect =...
2010 Jan 07
1
Segfault in GetNewPage, memory.c.
...th < 0 ) > (gdb) > 1928 switch (type) { > (gdb) > 1978 if (length <= 0) > (gdb) > 1984 size = PTR2VEC(length); > (gdb) > 2000 if (size <= NodeClassSize[1]) { > (gdb) > 2017 old_R_VSize = R_VSize; > (gdb) > 2020 if (FORCE_GC || NO_FREE_NODES() || VHEAP_FREE() < alloc_size) { > (gdb) > 2017 old_R_VSize = R_VSize; > (gdb) > 2020 if (FORCE_GC || NO_FREE_NODES() || VHEAP_FREE() < alloc_size) { > (gdb) > 2028 if (size > 0) { > (gdb) > 2029 if (node_class < NUM_SMALL_NODE_CLASSES) { >...