Commit 766827d2 authored by Deepti Gandluri's avatar Deepti Gandluri Committed by Commit Bot

[wasm] Enable shared GrowMemory by default

ArrayBuffer tracking has landed, turning on GrowMemory for Shared
WebAssembly.memory on by default. Enable all variants of tests based
on the new implementation.

Bug: v8:8564, v8:9221, v8:8832
Change-Id: I0ff8688636303896450b788b2ff5a7268d386050
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1808106
Commit-Queue: Deepti Gandluri <gdeepti@chromium.org>
Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63855}
parent 24c35b92
...@@ -751,7 +751,7 @@ DEFINE_BOOL(wasm_lazy_compilation, false, ...@@ -751,7 +751,7 @@ DEFINE_BOOL(wasm_lazy_compilation, false,
"enable lazy compilation for all wasm modules") "enable lazy compilation for all wasm modules")
DEFINE_DEBUG_BOOL(trace_wasm_lazy_compilation, false, DEFINE_DEBUG_BOOL(trace_wasm_lazy_compilation, false,
"trace lazy compilation of wasm functions") "trace lazy compilation of wasm functions")
DEFINE_BOOL(wasm_grow_shared_memory, false, DEFINE_BOOL(wasm_grow_shared_memory, true,
"allow growing shared WebAssembly memory objects") "allow growing shared WebAssembly memory objects")
DEFINE_BOOL(wasm_lazy_validation, false, DEFINE_BOOL(wasm_lazy_validation, false,
"enable lazy validation for lazily compiled wasm functions") "enable lazy validation for lazily compiled wasm functions")
......
...@@ -343,9 +343,6 @@ ...@@ -343,9 +343,6 @@
'es6/regress/regress-crbug-465671-null': [SKIP], 'es6/regress/regress-crbug-465671-null': [SKIP],
'regress/regress-148378': [SKIP], 'regress/regress-148378': [SKIP],
'regress/regress-crbug-762472': [SKIP], 'regress/regress-crbug-762472': [SKIP],
# https://crbug.com/v8/9221
'wasm/grow-shared-memory': [SKIP],
}], # 'gc_stress == True' }], # 'gc_stress == True'
############################################################################## ##############################################################################
......
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// TODO(v8:8832): Enable --stress-opt on these tests // Flags: --wasm-grow-shared-memory --experimental-wasm-threads
// Flags: --wasm-grow-shared-memory
// Flags: --experimental-wasm-threads --no-stress-opt
load("test/mjsunit/wasm/wasm-module-builder.js"); load("test/mjsunit/wasm/wasm-module-builder.js");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment