Improve survived_gc_yet()
commit85ba4a47d14e374c07891ac623e1fb4ab87eb9b0
authorDouglas Katzman <dougk@google.com>
Tue, 21 Mar 2017 20:41:44 +0000 (21 16:41 -0400)
committerDouglas Katzman <dougk@google.com>
Tue, 21 Mar 2017 20:49:18 +0000 (21 16:49 -0400)
treea1b1e96442ff730f7254ed65b953ad219035c8e9
parent0546c2798aa5d0b77414bc43b993e2974f1f1802
Improve survived_gc_yet()

* Avoid memory read if object is EMPTY_HT_SLOT
  (only if that is a static symbol)

* For key-OR-value, test whether either is an immediate value
  before testing whether either is a live pointer
src/runtime/gc-common.c