[wasm] Use V8::FatalProcessOutOfMemory when SetPermissions fails
SetPermissions causes memory that was previously reserved but uncommitted to be committed. This could put us over the committed memory limit for the process, causing SetPermissions to fail. In this case, we should report this as an out of memory error rather than a crash. Bug: chromium:838880 Change-Id: I2785aa9f5608fa04196fee2b280e0c6df2f56ca8 Reviewed-on: https://chromium-review.googlesource.com/1040657Reviewed-by: Deepti Gandluri <gdeepti@chromium.org> Commit-Queue: Eric Holk <eholk@chromium.org> Cr-Commit-Position: refs/heads/master@{#52928}
Showing
Please
register
or
sign in
to comment