Branch: Tag:

2018-05-19

2018-05-19 14:43:13 by Tobias S. Josefowitz <tobij@tobij.de>

GC: Inline GC marker struct into memory object structs

This avoids unnecessary padding while keeping mostly compatible to most
other users of these structs and markers.

2043:    PIKE_MEM_RW_RANGE(&res->next, sizeof(void*));    free_pike_frame = res->next;    PIKE_MEM_WO_RANGE(&res->next, sizeof(void*)); -  gc_init_marker(&res->m); +  gc_init_marker(res);    res->refs=0;    add_ref(res); /* For DMALLOC... */    res->flags=0;