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

Issue 10546179: Fix list traversal of optimized functions in deoptimizer. (Closed)

Created:
8 years, 6 months ago by Michael Starzinger
Modified:
8 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix list traversal of optimized functions in deoptimizer. R=fschneider@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=11829

Patch Set 1 #

Patch Set 2 : Use snapshotting for list traversal. #

Total comments: 2

Patch Set 3 : Addressed comments by Florian Schneider. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -4 lines) Patch
M src/deoptimizer.cc View 1 2 1 chunk +13 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Michael Starzinger
This fixes the current failures for no-snapshot debug builders on the waterfall.
8 years, 6 months ago (2012-06-14 23:10:04 UTC) #1
Michael Starzinger
Actually this modification is invalid, because there are other visitors that don't remove the head ...
8 years, 6 months ago (2012-06-14 23:17:46 UTC) #2
Michael Starzinger
Now it is flexible enough to deal with all types of visitors. Should have listened ...
8 years, 6 months ago (2012-06-15 10:31:04 UTC) #3
Florian Schneider
LGTM! https://chromiumcodereview.appspot.com/10546179/diff/4001/src/deoptimizer.cc File src/deoptimizer.cc (right): https://chromiumcodereview.appspot.com/10546179/diff/4001/src/deoptimizer.cc#newcode279 src/deoptimizer.cc:279: // Create a snapshot of the optimized functions ...
8 years, 6 months ago (2012-06-15 10:31:47 UTC) #4
Michael Starzinger
8 years, 6 months ago (2012-06-15 10:36:34 UTC) #5
Landing ...

https://chromiumcodereview.appspot.com/10546179/diff/4001/src/deoptimizer.cc
File src/deoptimizer.cc (right):

https://chromiumcodereview.appspot.com/10546179/diff/4001/src/deoptimizer.cc#...
src/deoptimizer.cc:279: // Create a snapshot of the optimized functions list.
On 2012/06/15 10:31:47, Florian Schneider wrote:
> Maybe add to the comment why this was necessary: Visitors may remove one or
more
> JSFunctions from the list etc...

Done.

Powered by Google App Engine
This is Rietveld 408576698