Description[wasm] Change the constant kV8MaxWasmMemoryPages to a command line flag.
The hardcoded constant caused a problem for the wasm fuzzer because
when the maximum memory was allocated in a test case, clusterfuzz ran
out of memory. with the command line flag we can set a lower limit
for the fuzzer.
The flag has the value of the constant as its default value, so that
for everything but the fuzzers nothing should change.
R=titzer@chromium.org
BUG=chromium:676888
Review-Url: https://codereview.chromium.org/2626313003
Cr-Commit-Position: refs/heads/master@{#42599}
Committed: https://chromium.googlesource.com/v8/v8/+/94266b7d86cfb7201461a9af2bfe2ec3268a70e3
Patch Set 1 #Patch Set 2 : typo #
Total comments: 2
Patch Set 3 : Make the flag an unsigned int #Patch Set 4 : Add parsing of uint commandline parameters #Patch Set 5 : allow all unsigned ints #
Total comments: 6
Patch Set 6 : Rebase #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 36 (26 generated)
|