[1.4>master] [MERGE #2533 @leirocks] avoid going through the list while page heap allocating
[1.4>master] [MERGE #2533 @leirocks] avoid going through the list while page heap allocating

Merge pull request #2533 from leirocks:pageheapfix

reduce the chance of hanging

Microsoft/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore