Skip to content
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

Merged
merged 1 commit into from
Feb 13, 2020

Conversation

jakobkummerow
Copy link
Contributor

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.

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.
@jakobkummerow
Copy link
Contributor Author

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?

@binji
Copy link
Member

binji commented Feb 4, 2020

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.

Copy link
Contributor

@ioannad ioannad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM too.

@Ms2ger Ms2ger merged commit ba87cd7 into WebAssembly:master Feb 13, 2020
pull bot pushed a commit to p-g-krish/v8 that referenced this pull request Feb 24, 2020
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}
@jakobkummerow jakobkummerow deleted the update-memory-limits branch February 24, 2020 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[js-api] Allow larger memories (2 → 4 GB)
6 participants