Hoist tests from scan_weak_pointers() into scav_weak_pointer()
commite1e358624d3df3a4e4d1a50d677a6675947fc0d2
authorDouglas Katzman <dougk@google.com>
Sun, 19 Mar 2017 15:38:39 +0000 (19 11:38 -0400)
committerDouglas Katzman <dougk@google.com>
Sun, 19 Mar 2017 15:41:00 +0000 (19 11:41 -0400)
tree0f3158e9f90a46eb26510a9e7fb496c6289b3441
parent7d4563d4da135a4c31484225b62fa6c20bf13364
Hoist tests from scan_weak_pointers() into scav_weak_pointer()

Of particularly high relevance is the already-broken wp.
This keeps the scan list shorter, often by a lot.
src/runtime/gc-common.c
src/runtime/gc-internal.h
src/runtime/gencgc.c