Speed up wipe_nonpinned_words()
commit213f013ac5ed2a99e54488cef40b919dd0b40fa2
authorDouglas Katzman <dougk@google.com>
Wed, 3 May 2017 02:56:31 +0000 (2 22:56 -0400)
committerDouglas Katzman <dougk@google.com>
Wed, 3 May 2017 03:00:01 +0000 (2 23:00 -0400)
tree7dab37b918bdc94953a456ec0ccdbe0683615318
parentf4e758d44524b25ae23cafadb2f5eda76323f4dd
Speed up wipe_nonpinned_words()

Instead of zero-filling, just create an unboxed array.
This speeds subsequent scavenging of the range by skipping it
rather than treating it as a bunch of cons cells.
src/runtime/gencgc.c