• Philip Chimento's avatar
    context: Trace atoms · 6d25dbeb
    Philip Chimento authored
    Apparently I forgot to trace these. It didn't affect most of the members
    of GjsAtoms because string atoms are pinned in memory anyway. But the
    symbol atoms only had their symbol descriptions pinned in memory, not
    the symbols themselves. So garbage collections would collect these
    This wasn't obvious because the symbols seem only to be used early in
    the GJS process anyway. It became apparent when running with JS_GC_ZEAL
    (extra garbage collection after every 100 allocations.)
context.cpp 35.1 KB