GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — Do not allocate MemorySegments for memory.data(i32, i32?) by CountBleck · Pull Request #2831 · AssemblyScript/assemblyscript Conversation
Member
Fixes #2827. Changes proposed in this pull request: There is an issue with the
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
CountBleck
commented
Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
CountBleck
force-pushed
the
fix-large-memory-crash
branch
from
373166c to
6a89a09
Compare
|
There was an error while loading. Please reload this page.
@dcodeIO hmm, would this conflict when |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
ed50aef to
4465767
Compare
MemorySegments can now hold null buffers, which signifies that memory is in fact used in the compiled program, for programs that only reserve zero-filled memories. Using null buffers avoids passing zero-filled buffers to Binaryen, which isn't necessary since Wasm memories are initialized with zeroes when a (data ...) segment isn't present. This change is breaking in that modules using imported memories that contain non-zero values in such memory ranges at the time of instantiation will retain those values, as opposed to being filled. This shouldn't affect most users, however, and it could possibly be desirable. Fixes AssemblyScript#2827.
4465767 to
163a631
Compare
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
A tip: Please avoid to force push after someone has already reviewed PR. This makes it difficult for reviewers to track.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@HerrCai0907 I changed the commit message; this is technically a breaking change. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
You can modify it when click squash and merge😆 . Actually the message in commit is meaningless. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
as crash when try to alloc large data
There was an error while loading. Please reload this page.