-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[js-api] Bump limit for maximum memory size to 4GiB #1121
Conversation
Per discussion in WebAssembly#1116, the limit for initial memory pages remains at 32767 (just under 2GiB), while the limit for maximum memory pages is increased to 65536 (4GiB). Spec tests are brought in line with these definitions (they actually did not reflect the spec text before). Fixes: WebAssembly#1116.
I have created a W3C account and linked it, but now when I click "Revalidate"in the ipr checker I get an error "Authentication required." Am I holding it wrong? |
I clicked revalidate; it seems the issue is that you're not a member of the wasm CG: https://www.w3.org/community/webassembly/participants. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM too.
Make sure the "initial pages" memory limit is enforced correctly and throws a CompileError when exceeded. Bump the "maximum pages" memory limit to 65536. The --wasm-max-mem-pages flag now controls the "initial pages" limit; the "maximum pages" limit is always 65536 as spec'ed. This CL depends on WebAssembly/spec#1121. Bug: v8:7881, v8:8633 Change-Id: I68d07cef56633b8b8ce3b3d047c14e1096daf547 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2035876 Reviewed-by: Andreas Haas <[email protected]> Reviewed-by: Georg Neis <[email protected]> Commit-Queue: Jakob Kummerow <[email protected]> Cr-Commit-Position: refs/heads/master@{#66400}
Per discussion in #1116, the limit for initial memory pages remains at
32767 (just under 2GiB), while the limit for maximum memory pages is
increased to 65536 (4GiB).
Spec tests are brought in line with these definitions (they actually did
not reflect the spec text before).
Fixes: #1116.