6eeb994d35
The destructor for BackgroundMergeTask checks that the task doesn't have pending foreground work. However, there are valid cases where the task can be abandoned without completing its foreground work, either because another copy of the same script showed up in the Isolate compilation cache or because the serialized code data had an incorrect source hash and was rejected. This change removes the problematic DCHECK and adds a new one in code-serializer.cc at a point where we can actually be sure there isn't pending foreground work. Bug: chromium:1400781 Change-Id: Idb3538229d25f297adf5b2696c4b4b50d85557b1 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4105926 Commit-Queue: Seth Brenith <seth.brenith@microsoft.com> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/main@{#84869} |
||
---|---|---|
.. | ||
access-check-unittest.cc | ||
accessor-unittest.cc | ||
api-icu-unittest.cc | ||
api-wasm-unittest.cc | ||
context-unittest.cc | ||
deserialize-unittest.cc | ||
exception-unittest.cc | ||
gc-callbacks-unittest.cc | ||
interceptor-unittest.cc | ||
isolate-unittest.cc | ||
remote-object-unittest.cc | ||
resource-constraints-unittest.cc | ||
v8-maybe-unittest.cc | ||
v8-object-unittest.cc | ||
v8-script-unittest.cc |