Test "bytes_found < nbytes_goal" first in find_freeish_pages loop
commitcb8db007d718612634418be80223631b99c8d2a2
authorDouglas Katzman <dougk@google.com>
Thu, 5 Oct 2017 15:34:46 +0000 (5 11:34 -0400)
committerDouglas Katzman <dougk@google.com>
Thu, 5 Oct 2017 15:36:09 +0000 (5 11:36 -0400)
treecd20c5876b9d15b5013a5a51456e18f47fadf48b
parent789b39c4b1cc8c01503b1329bd2fc9918cfd01c7
Test "bytes_found < nbytes_goal" first in find_freeish_pages loop

Avoid testing page_free_p() if we've already found enough bytes
src/runtime/gencgc.c