• Stefan Monnier's avatar
    * src/profiler.c: Leave `key` hashslots as Qunbound (bug#37382) · 99741550
    Stefan Monnier authored
    Now that "key == Qunbound" is used to determine if a hash table entry
    is available, we can't stash pre-allocated vectors into the `key` slot
    anymore, so use the `value` slot instead.
    
    (make_log): Pre-fill the `value` slots i.s.o `key`.
    (evict_lower_half): Stash key back into `value`, i.s.o `key`.
    (record_backtrace): Get pre-allocated vector for `value` i.s.o `key`.
    99741550
profiler.c 18.5 KB