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

Issue 659513003: Use WeakCell to handle the script wrapper cache (Closed)

Created:
6 years, 2 months ago by Erik Corry Chromium.org
Modified:
6 years, 2 months ago
Reviewers:
ulan
CC:
v8-dev, Hannes Payer (out of office)
Project:
v8
Visibility:
Public.

Description

Use WeakCell to handle the script wrapper cache The script wrapper cache used the API weak handles to provide a weak link from Script to ScriptWrapper. We want to change the way API weakness works, and in this context it's best to get rid of users of the API that don't need to be users. R=ulan@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=24622

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove special handling during serialization #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -53 lines) Patch
M src/factory.cc View 2 chunks +1 line, -2 lines 0 comments Download
M src/objects.h View 3 chunks +3 lines, -3 lines 0 comments Download
M src/objects.cc View 1 chunk +13 lines, -40 lines 0 comments Download
M src/objects-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/serialize.cc View 1 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Erik Corry Chromium.org
6 years, 2 months ago (2014-10-14 15:30:06 UTC) #1
ulan
lgtm https://codereview.chromium.org/659513003/diff/1/src/serialize.cc File src/serialize.cc (right): https://codereview.chromium.org/659513003/diff/1/src/serialize.cc#newcode2024 src/serialize.cc:2024: HeapObject* clear = heap_object->GetHeap()->undefined_value(); Since we rebuild the ...
6 years, 2 months ago (2014-10-14 15:45:56 UTC) #2
Erik Corry Chromium.org
I removed the special handling under serialization, since it should just work with WeakCell.
6 years, 2 months ago (2014-10-15 09:24:54 UTC) #3
ulan
On 2014/10/15 09:24:54, Erik Corry Chromium.org wrote: > I removed the special handling under serialization, ...
6 years, 2 months ago (2014-10-15 09:56:17 UTC) #4
Erik Corry Chromium.org
6 years, 2 months ago (2014-10-15 10:11:20 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 24622 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698