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

Issue 866723002: Treat pointers in optimized code as strong before all weak dependencies are registered. (Closed)

Created:
5 years, 11 months ago by ulan
Modified:
5 years, 11 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Treat pointers in optimized code as strong before all weak dependencies are registered. This prevents GC from observing code objects with out-of-sync weak dependencies. BUG=v8:3823 LOG=N Committed: https://crrev.com/40973187925838554e0dc25701ffda38f0e19db2 Cr-Commit-Position: refs/heads/master@{#26225}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add is_turbofanned() check #

Patch Set 3 : fix check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -97 lines) Patch
M src/arm/lithium-codegen-arm.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/arm64/lithium-codegen-arm64.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/heap/heap.h View 2 chunks +0 lines, -12 lines 0 comments Download
M src/heap/heap-inl.h View 1 chunk +0 lines, -14 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/lithium.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/lithium.cc View 2 chunks +56 lines, -0 lines 0 comments Download
M src/lithium-codegen.cc View 1 chunk +0 lines, -60 lines 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/mips64/lithium-codegen-mips64.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/objects.h View 1 2 4 chunks +16 lines, -4 lines 0 comments Download
M src/objects-inl.h View 1 chunk +15 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/x87/lithium-codegen-x87.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 8 (2 generated)
ulan
PTAL https://codereview.chromium.org/866723002/diff/1/src/lithium.cc File src/lithium.cc (right): https://codereview.chromium.org/866723002/diff/1/src/lithium.cc#newcode416 src/lithium.cc:416: static void AddWeakObjectToCodeDependency(Isolate* isolate, Move these functions from ...
5 years, 11 months ago (2015-01-22 13:53:53 UTC) #2
Hannes Payer (out of office)
lgtm https://codereview.chromium.org/866723002/diff/1/src/objects-inl.h File src/objects-inl.h (right): https://codereview.chromium.org/866723002/diff/1/src/objects-inl.h#newcode4861 src/objects-inl.h:4861: DCHECK(kind() == OPTIMIZED_FUNCTION); Let's DCHECk !is_turbofanned().
5 years, 11 months ago (2015-01-22 14:39:00 UTC) #3
ulan
Thanks, landing. https://codereview.chromium.org/866723002/diff/1/src/objects-inl.h File src/objects-inl.h (right): https://codereview.chromium.org/866723002/diff/1/src/objects-inl.h#newcode4861 src/objects-inl.h:4861: DCHECK(kind() == OPTIMIZED_FUNCTION); On 2015/01/22 14:38:59, Hannes ...
5 years, 11 months ago (2015-01-22 15:01:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/866723002/40001
5 years, 11 months ago (2015-01-22 15:02:34 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 11 months ago (2015-01-22 15:30:56 UTC) #7
commit-bot: I haz the power
5 years, 11 months ago (2015-01-22 15:31:13 UTC) #8
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/40973187925838554e0dc25701ffda38f0e19db2
Cr-Commit-Position: refs/heads/master@{#26225}

Powered by Google App Engine
This is Rietveld 408576698