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

Issue 1994993002: VM background optimization: Fix another use of the original IC data. (Closed)

Created:
4 years, 7 months ago by Florian Schneider
Modified:
4 years, 7 months ago
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

VM background optimization: Fix another use of the original IC data. The original IC data are only needed when we reference them from the generated code. EmitMegamorphicInstanceCall does not emit them into the code, but calls EmitMegamorphicInstanceCall -> ShouldInlineSmiStringHashCode -> NumberOfChecks, which fails if the mutator thread grows the IC data concurrently. BUG= R=vegorov@google.com Committed: https://github.com/dart-lang/sdk/commit/a8ba557dc96b06f6a479371af32635c783c41e35

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M runtime/vm/flow_graph_compiler.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Florian Schneider
4 years, 7 months ago (2016-05-19 14:43:07 UTC) #2
Vyacheslav Egorov (Google)
lgtm
4 years, 7 months ago (2016-05-19 14:48:19 UTC) #3
Florian Schneider
Committed patchset #1 (id:1) manually as a8ba557dc96b06f6a479371af32635c783c41e35 (presubmit successful).
4 years, 7 months ago (2016-05-19 14:55:00 UTC) #5
siva
4 years, 7 months ago (2016-05-19 15:57:23 UTC) #7
Message was sent while issue was closed.
I am wondering if we should add a state in these objects that are copied for use
by the back ground compiler and assert that the original objects can only be
accessed by the Mutator thread.

Powered by Google App Engine
This is Rietveld 408576698