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

Issue 189463019: Implement PersistentValueMap, a map that stores UniquePersistent values. (Closed)

Created:
6 years, 9 months ago by vogelheim
Modified:
6 years, 9 months ago
Reviewers:
dcarney, Sven Panne
CC:
v8-dev, Paweł Hajdan Jr.
Visibility:
Public.

Description

Implement PersistentValueMap, a map that stores UniquePersistent values. This is preparatory work to get rid of UnsafePersistent in blink. Related blink changes are here: https://codereview.chromium.org/180363004/ This patch is largely based on https://codereview.chromium.org/175503003/, with some methods added to support the blink change mentioned above. BUG= R=dcarney@chromium.org, svenpanne@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=19833

Patch Set 1 #

Total comments: 13

Patch Set 2 : Address first round of CL feedback. #

Total comments: 13

Patch Set 3 : Address 2nd round of feedback. #

Total comments: 6

Patch Set 4 : latest feedback & clean-up 'rebase' issues #

Patch Set 5 : address feedback. #

Patch Set 6 : Fix test case. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -11 lines) Patch
M include/v8.h View 1 2 3 4 12 chunks +196 lines, -5 lines 0 comments Download
M src/api.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/global-handles.h View 1 chunk +1 line, -1 line 0 comments Download
M src/global-handles.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 1 chunk +109 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
vogelheim
6 years, 9 months ago (2014-03-10 11:34:55 UTC) #1
dcarney
https://codereview.chromium.org/189463019/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/189463019/diff/1/include/v8.h#newcode840 include/v8.h:840: V8_INLINE bool SetReturnValueFrom(const K& key, just SetReturnValue https://codereview.chromium.org/189463019/diff/1/include/v8.h#newcode847 include/v8.h:847: ...
6 years, 9 months ago (2014-03-10 11:35:22 UTC) #2
vogelheim
PTAL. https://codereview.chromium.org/189463019/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/189463019/diff/1/include/v8.h#newcode840 include/v8.h:840: V8_INLINE bool SetReturnValueFrom(const K& key, On 2014/03/10 11:35:23, ...
6 years, 9 months ago (2014-03-10 19:00:46 UTC) #3
dcarney
looking good. watch the rebase! https://codereview.chromium.org/189463019/diff/20001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/189463019/diff/20001/include/v8.h#newcode853 include/v8.h:853: UniquePersistent<V> Set(const K& key, ...
6 years, 9 months ago (2014-03-11 07:44:46 UTC) #4
dcarney
https://codereview.chromium.org/189463019/diff/20001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/189463019/diff/20001/include/v8.h#newcode5890 include/v8.h:5890: } we need to dispose the callback data for ...
6 years, 9 months ago (2014-03-11 07:57:18 UTC) #5
vogelheim
https://codereview.chromium.org/189463019/diff/20001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/189463019/diff/20001/include/v8.h#newcode853 include/v8.h:853: UniquePersistent<V> Set(const K& key, UniquePersistent<V>& value) { On 2014/03/11 ...
6 years, 9 months ago (2014-03-11 14:35:42 UTC) #6
dcarney
lgtm, with some small comments https://codereview.chromium.org/189463019/diff/40001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/189463019/diff/40001/include/v8.h#newcode819 include/v8.h:819: template<class K, class V, ...
6 years, 9 months ago (2014-03-11 15:12:05 UTC) #7
vogelheim
https://codereview.chromium.org/189463019/diff/40001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/189463019/diff/40001/include/v8.h#newcode819 include/v8.h:819: template<class K, class V, class Traits> On 2014/03/11 15:12:05, ...
6 years, 9 months ago (2014-03-11 16:11:59 UTC) #8
Sven Panne
lgtm
6 years, 9 months ago (2014-03-12 08:24:34 UTC) #9
dcarney
6 years, 9 months ago (2014-03-12 09:11:33 UTC) #10
Message was sent while issue was closed.
Committed patchset #6 manually as r19833 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698