Skip to content

Commit e061828

Browse files
committed
Added a comment explaining why we are disabling liftoff.
Signed-off-by: Rachel Green <[email protected]>
1 parent d1c7aa2 commit e061828

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/v8/v8.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ wasm::Engine *engine() {
4343
static wasm::own<wasm::Engine> engine;
4444

4545
std::call_once(init, []() {
46+
// Disable the Liftoff compiler to force optimized JIT up-front.
4647
std::string args = absl::StrFormat("--wasm_max_mem_pages=%u --no-liftoff",
4748
PROXY_WASM_HOST_MAX_WASM_MEMORY_SIZE_BYTES /
4849
PROXY_WASM_HOST_WASM_MEMORY_PAGE_SIZE_BYTES);

0 commit comments

Comments
 (0)