-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
[HTML5] Raise default initial memory to 32 MiB. #50422
Conversation
The memory was resized in any case during start. Mitigate Chromium issue: https://bugs.chromium.org/p/v8/issues/detail?id=11863 Also fix a warning about SAFE_HEAP being a linker only flag.
@@ -130,7 +130,6 @@ def configure(env): | |||
env.Append(CCFLAGS=["-fsanitize=leak"]) | |||
env.Append(LINKFLAGS=["-fsanitize=leak"]) | |||
if env["use_safe_heap"]: | |||
env.Append(CCFLAGS=["-s", "SAFE_HEAP=1"]) |
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.
Why remove this?
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.
See comment: Also fix a warning about SAFE_HEAP being a linker only flag.
https://github.com/emscripten-core/emscripten/blob/main/src/settings.js#L306
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.
Do you have a source which can verify that warning? I don't want it to bite back later.
Thanks! |
Cherry-picked for 3.4. |
Cherry-picked for 3.3.3. |
The memory was resized in any case during start.
Mitigate Chromium issue (#49797):
https://bugs.chromium.org/p/v8/issues/detail?id=11863
Also fix a warning about SAFE_HEAP being a linker only flag.