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

Issue 11818052: Fix shared function info code replacement. (Closed)

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

Description

Fix shared function info code replacement. This fixes a corner case when the unoptimized code for a shared function info is replaced while the function is enqueued as a flushing candidate. Since the link field is stored within the code object, the candidates list got destroyed. R=hpayer@chromium.org BUG=v8:169209 TEST=cctest/test-heap/Regress169209 Committed: http://code.google.com/p/v8/source/detail?r=13361

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments by Hannes Payer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -5 lines) Patch
M src/compiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/mark-compact.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/mark-compact.cc View 1 3 chunks +33 lines, -2 lines 0 comments Download
M src/objects.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/objects.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/objects-inl.h View 1 chunk +13 lines, -0 lines 0 comments Download
M src/runtime.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-heap.cc View 1 chunk +69 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Michael Starzinger
7 years, 11 months ago (2013-01-10 11:31:46 UTC) #1
Hannes Payer (out of office)
https://codereview.chromium.org/11818052/diff/1/src/mark-compact.cc File src/mark-compact.cc (right): https://codereview.chromium.org/11818052/diff/1/src/mark-compact.cc#newcode946 src/mark-compact.cc:946: SharedFunctionInfo* next_candidate; Why is there a difference between shared_info ...
7 years, 11 months ago (2013-01-11 10:09:51 UTC) #2
Michael Starzinger
PTAL. https://codereview.chromium.org/11818052/diff/1/src/mark-compact.cc File src/mark-compact.cc (right): https://codereview.chromium.org/11818052/diff/1/src/mark-compact.cc#newcode946 src/mark-compact.cc:946: SharedFunctionInfo* next_candidate; On 2013/01/11 10:09:51, Hannes Payer wrote: ...
7 years, 11 months ago (2013-01-11 12:27:22 UTC) #3
Hannes Payer (out of office)
7 years, 11 months ago (2013-01-11 12:39:10 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698