]> git.eshelyaron.com Git - emacs.git/commit
* src/profiler.c: Leave `key` hashslots as Qunbound (bug#37382)
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 12 Sep 2019 12:25:13 +0000 (08:25 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 12 Sep 2019 12:25:36 +0000 (08:25 -0400)
commit997415504c37b4dc1f486b9d9925c4e16ade015c
tree81bdd63738eb07ce2476309d9f0077494202e7fc
parentc19f5dcd474bfc883fc7555eef7d8f50a0df3157
* src/profiler.c: Leave `key` hashslots as Qunbound (bug#37382)

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`.
src/profiler.c