[heap] Fix Local worklist publishing in per context mode
Publish all local worklists and don't ignore the one corresponding to the current context. Bug: chromium:1355679 Change-Id: I1944acd6258178d509610d3806c5aca047bbbbf8 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3849651 Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Dominik Inführ <dinfuehr@chromium.org> Auto-Submit: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#82651}
This commit is contained in:
parent
aba3572414
commit
545ebe4a82
@ -122,9 +122,7 @@ void MarkingWorklists::Local::Publish() {
|
||||
other_.Publish();
|
||||
if (is_per_context_mode_) {
|
||||
for (auto& cw : worklist_by_context_) {
|
||||
if (cw.first != active_context_) {
|
||||
cw.second->Publish();
|
||||
}
|
||||
cw.second->Publish();
|
||||
}
|
||||
}
|
||||
PublishWrapper();
|
||||
|
Loading…
Reference in New Issue
Block a user