[wasm] Deserialization: avoid repeated locking
Use the overload of NativeModule::PublishCode that accepts a vector of codes to only lock/unlock once per batch. R=ahaas@chromium.org Bug: v8:11164 Change-Id: I6428d3d9cec8526bdfef223d7ba03b35bad9e1eb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2562251Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Thibaud Michaud <thibaudm@chromium.org> Cr-Commit-Position: refs/heads/master@{#71431}
Showing
Please
register
or
sign in
to comment