Don't check safepoint flags in check_request_surprise_unlikely()
Summary:
check_request_surprise_unlikely() exists specifically to check for
resource exceeded conditions when running unbounded native operations
like array unserialization or JSON decoding. These places, at least
presently, are not MemoryManager safepoints, so exclude safepoint-
only flags from the check.
Also rename the function, to make it clearer what its purpose is.
Reviewed By: markw65
Differential Revision:
D3744616
fbshipit-source-id:
9bc7455fe0d44dc9dfc2e0bb55205f2a792200de