Fix overly conservative behavior of update_page_write_prot().
commit4d2aa91f0d97473805cb7992bef9dcf727ea1465
authorDouglas Katzman <dougk@google.com>
Tue, 28 Oct 2014 17:02:37 +0000 (28 13:02 -0400)
committerDouglas Katzman <dougk@google.com>
Tue, 28 Oct 2014 17:02:37 +0000 (28 13:02 -0400)
treedf887b08f5309d57094cdbc08c3ba1ac1bfc834c
parent69c0947a38a31b9ec13c687721865497bcc4490c
Fix overly conservative behavior of update_page_write_prot().

When scanning for old->young pointers, ignore immediate values
that might happen to return a valid result from find_page_index().
At worst, this caused pages to fail to be protected when they could
have been, so it was not damaging, only suboptimal.
src/runtime/gencgc.c