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

Issue 2118813003: Separate mutex for megamorphic cache tables lookup in the background compiler. (Closed)

Created:
4 years, 5 months ago by Florian Schneider
Modified:
4 years, 5 months ago
Reviewers:
Cutch, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Separate mutex for megamorphic cache tables lookup in the background compiler. Lookup and updates to the megamorphic cache tables should be protected by a separate mutex - using isolate->mutex() can cause a dead lock if the background compiler holds this lock while it's being stopped by the mutator thread. BUG=#26808 R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/858ee49cea3e3cc30f1b444aa49a163de7eb1bf9

Patch Set 1 #

Total comments: 6

Patch Set 2 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M runtime/vm/isolate.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/megamorphic_cache_table.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (4 generated)
Florian Schneider
4 years, 5 months ago (2016-07-01 17:12:02 UTC) #3
Cutch
DBC https://codereview.chromium.org/2118813003/diff/1/runtime/vm/isolate.cc File runtime/vm/isolate.cc (right): https://codereview.chromium.org/2118813003/diff/1/runtime/vm/isolate.cc#newcode800 runtime/vm/isolate.cc:800: lookup_mutex_(new Mutex()), where is this mutex deleted?
4 years, 5 months ago (2016-07-01 17:16:18 UTC) #5
siva
lgtm https://codereview.chromium.org/2118813003/diff/1/runtime/vm/isolate.cc File runtime/vm/isolate.cc (right): https://codereview.chromium.org/2118813003/diff/1/runtime/vm/isolate.cc#newcode800 runtime/vm/isolate.cc:800: lookup_mutex_(new Mutex()), On 2016/07/01 17:16:18, Cutch wrote: > ...
4 years, 5 months ago (2016-07-01 17:39:29 UTC) #6
Florian Schneider
https://codereview.chromium.org/2118813003/diff/1/runtime/vm/isolate.cc File runtime/vm/isolate.cc (right): https://codereview.chromium.org/2118813003/diff/1/runtime/vm/isolate.cc#newcode800 runtime/vm/isolate.cc:800: lookup_mutex_(new Mutex()), On 2016/07/01 17:39:29, siva wrote: > On ...
4 years, 5 months ago (2016-07-01 19:31:58 UTC) #7
Florian Schneider
4 years, 5 months ago (2016-07-01 19:43:27 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
858ee49cea3e3cc30f1b444aa49a163de7eb1bf9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698