Since many of the structures are allocated via block_alloc.h, it would probably be a good idea to let block_alloc.h:really_free_DATA() be able to free entire blocks too.
Yes. I'm having trouble understanding the special PRE_INIT_BLOCK magic used by SHARED_NODES though. Are the nodes used after they are freed? The code looks really bizarre.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2002-09-27 16:45: Subject: Gz testsuite memory usage
Since many of the structures are allocated via block_alloc.h, it would probably be a good idea to let block_alloc.h:really_free_DATA() be able to free entire blocks too.
/ Henrik Grubbström (Lysator)
It's used for debug, and by the compiler cleanup code (see las.c:free_all_nodes() and las.c:check_tree()).
/ Henrik Grubbström (Lysator)
Previous text:
2002-09-27 17:27: Subject: Gz testsuite memory usage
Yes. I'm having trouble understanding the special PRE_INIT_BLOCK magic used by SHARED_NODES though. Are the nodes used after they are freed? The code looks really bizarre.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
pike-devel@lists.lysator.liu.se