[wasm][debug] Fix deadlock in recompilation
Triggering recompilation can reduce the number of outstanding recompilation functions. If it gets reduced to zero, we also need to trigger other callbacks waiting for recompilation to finish. This situation can happen if all recompiled code was already installed in the native module, but the compilation state was not updated yet via {OnFinishedUnits}. R=thibaudm@chromium.org Bug: v8:10557, chromium:1084369, v8:10359 Change-Id: Ib80ff110776cf284632303b0b23e4c6e63426411 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2214828Reviewed-by: Thibaud Michaud <thibaudm@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#67965}
Showing
Please
register
or
sign in
to comment