Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Issue 2168843003: [Turbofan] Fix a race on CallInterfaceDescriptor initialization. (Closed)

Created:
4 years, 5 months ago by rmcilroy
Modified:
4 years, 5 months ago
Reviewers:
Michael Starzinger
CC:
v8-reviews_googlegroups.com, Benedikt Meurer
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Turbofan] Fix a race on CallInterfaceDescriptor initialization. The effect control linearizer runs off-thread and needs the ToNumber call descriptor. Add a hack to create this on the main thread to ensure off-thread's don't race on it's construction. Also add a DCHEK to the CallInterfaceDescriptor to ensure they are always initilaized on the main thread. Committed: https://crrev.com/1df29e190f8a3ecda77b794430d3f7a1f39af866 Cr-Commit-Position: refs/heads/master@{#37973}

Patch Set 1 #

Total comments: 2

Patch Set 2 : DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M src/compiler/pipeline.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/interface-descriptors.h View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
rmcilroy
Michi please review. Benedikt for FYI (comments welcome).
4 years, 5 months ago (2016-07-21 13:45:37 UTC) #4
Michael Starzinger
LGTM. https://codereview.chromium.org/2168843003/diff/1/src/interface-descriptors.h File src/interface-descriptors.h (right): https://codereview.chromium.org/2168843003/diff/1/src/interface-descriptors.h#newcode220 src/interface-descriptors.h:220: CHECK(ThreadId::Current().Equals(isolate->thread_id())); nit: DCHECK should do it.
4 years, 5 months ago (2016-07-21 16:36:47 UTC) #7
rmcilroy
https://codereview.chromium.org/2168843003/diff/1/src/interface-descriptors.h File src/interface-descriptors.h (right): https://codereview.chromium.org/2168843003/diff/1/src/interface-descriptors.h#newcode220 src/interface-descriptors.h:220: CHECK(ThreadId::Current().Equals(isolate->thread_id())); On 2016/07/21 16:36:47, Michael Starzinger wrote: > nit: ...
4 years, 5 months ago (2016-07-22 09:16:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2168843003/20001
4 years, 5 months ago (2016-07-22 09:16:35 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-22 09:39:23 UTC) #12
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 09:42:44 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1df29e190f8a3ecda77b794430d3f7a1f39af866
Cr-Commit-Position: refs/heads/master@{#37973}

Powered by Google App Engine
This is Rietveld 408576698