Adding @mlip...@chromium.org for the change to sandbox/js-dispatch-table-inl.h.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
#ifdef V8_ENABLE_DRUMBRAKE
This is already part of the switch below on L373. What makes this necessary here?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
This is already part of the switch below on L373. What makes this necessary here?
You are right, this change does not seem necessary anymore. There have been several changes to this file recently and at some point we saw a number of tests failing in jitless mode with this call stack:
```
#
# Fatal error in , line 0
# Check failed: IsCompatibleCode(new_code, parameter_count).
#
#
#
#FailureMessage Object: 0000009669BFD530
==== C stack trace ===============================
v8::base::debug::StackTrace::StackTrace [0x0x7ff6abf9971b+27] (D:\a\_work\e\v8\src\base\debug\stack_trace_win.cc:173)
v8::platform::`anonymous namespace'::PrintStackTrace [0x0x7ff6abf093a7+39] (D:\a\_work\e\v8\src\libplatform\default-platform.cc:28)
V8_Fatal [0x0x7ff6abefe9a7+295] (D:\a\_work\e\v8\src\base\logging.cc:214)
v8::internal::JSDispatchTable::TryAllocateAndInitializeEntry [0x0x7ff6aac07313+499] (D:\a\_work\e\v8\src\sandbox\js-dispatch-table-inl.h:171)
v8::internal::FactoryBase<v8::internal::Factory>::NewJSDispatchHandle [0x0x7ff6aabffe09+137] (D:\a\_work\e\v8\src\heap\factory-base.cc:1496)
v8::internal::Factory::JSFunctionBuilder::BuildRaw [0x0x7ff6aac1efbc+1148] (D:\a\_work\e\v8\src\heap\factory.cc:4970)
v8::internal::Factory::JSFunctionBuilder::Build [0x0x7ff6aac1196a+138] (D:\a\_work\e\v8\src\heap\factory.cc:4832)
v8::internal::WasmExportedFunction::New [0x0x7ff6ab51b419+1177] (D:\a\_work\e\v8\src\wasm\wasm-objects.cc:3037)
v8::internal::WasmTrustedInstanceData::GetOrCreateFuncRef [0x0x7ff6ab5147bb+843] (D:\a\_work\e\v8\src\wasm\wasm-objects.cc:2055)
v8::internal::wasm::InstanceBuilder::ProcessExports [0x0x7ff6ab49bffd+1181] (D:\a\_work\e\v8\src\wasm\module-instantiate.cc:2531)
v8::internal::wasm::InstanceBuilder::Build_Phase1 [0x0x7ff6ab49a2d9+3961] (D:\a\_work\e\v8\src\wasm\module-instantiate.cc:1413)
v8::internal::wasm::InstanceBuilder::Build [0x0x7ff6ab498856+470] (D:\a\_work\e\v8\src\wasm\module-instantiate.cc:1077)
v8::internal::wasm::InstantiateToInstanceObject [0x0x7ff6ab4981e3+195] (D:\a\_work\e\v8\src\wasm\module-instantiate.cc:1019)
v8::internal::wasm::WasmEngine::SyncInstantiate [0x0x7ff6ab4ddbc9+409] (D:\a\_work\e\v8\src\wasm\wasm-engine.cc:756)
v8::internal::wasm::WebAssemblyInstance [0x0x7ff6ab4f5e06+582] (D:\a\_work\e\v8\src\wasm\wasm-js.cc:3196)
v8::internal::FunctionCallbackArguments::CallOrConstruct [0x0x7ff6aaa2b321+305] (D:\a\_work\e\v8\src\api\api-arguments-inl.h:94)
v8::internal::`anonymous namespace'::HandleApiCallHelper<1> [0x0x7ff6aaa2a77b+379] (D:\a\_work\e\v8\src\builtins\builtins-api.cc:106)
v8::internal::Builtin_Impl_HandleApiConstruct [0x0x7ff6aaa29e79+201] (D:\a\_work\e\v8\src\builtins\builtins-api.cc:135)
v8::internal::Builtin_HandleApiConstruct [0x0x7ff6aaa29ad0+48] (D:\a\_work\e\v8\src\builtins\builtins-api.cc:126)
Builtins_CEntry_Return1_ArgvOnStack_BuiltinExit [0x0x7ff6ac2c8b7a+58]
Builtins_InterpreterPushArgsThenFastConstructFunction [0x0x7ff6ac2be973+691]
Builtins_ConstructHandler [0x0x7ff6ac27a500+192]
[...]
Command: out\Debug_x64\d8.exe --test test\mjsunit\mjsunit.js test\mjsunit\wasm\futex.js --random-seed=-46250982 --nohard-abort --testing-d8-test-runner --jitless --wasm-jitless-if-available-for-testing --allow-natives-syntax
--- FAILED ---
```
But I see that the tests are not failing anymore.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +2 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
2 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
[Wasm interpreter] Fixes a few build breaks in Wasm interpreter
Fix a couple of build breaks in the Wasm interpreter after the refactoring of Simd128.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |