Branch: Tag:

2017-11-11

2017-11-11 16:35:01 by Tobias S. Josefowitz <tobij@tobij.de>

GC: Inline markers into datastructures

Initial work is done. This may have worse performance characteristics
for now. Futher work will use the block allocator provided iterator
instead of linked lists to visit all objects and potentially optimize
the memory layout of the marker struct.

16:   #include "pike_rusage.h"   #include "block_allocator.h"   #include "string_builder.h" + #include "gc_header.h"      /* Needed to support dynamic loading on NT */   PMOD_EXPORT extern struct program_state * Pike_compiler;
623:   struct program   {    INT32 refs; +  struct marker m;       INT32 id; /* used to identify program in caches */    /* storage_needed - storage needed in object struct