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

Issue 201643003: First attempt at providing default traits for PersistentValueMap. (Closed)

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

Description

First attempt at providing default traits for PersistentValueMap. BUG= R=dcarney@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=20038

Patch Set 1 : Split out two traits classes. #

Patch Set 2 : 1st stab at providng default traits for persistentValueMap #

Total comments: 6

Patch Set 3 : Review feedback. #

Patch Set 4 : Remove default implementations. #

Patch Set 5 : Add StdPersistentValueMap; minor formatting + style fixes. #

Total comments: 6

Patch Set 6 : Review feedback: Split out map traits. #

Patch Set 7 : Fixed test code to derive from StdMapTraits, as intended by the updated design. #

Patch Set 8 : Fix includes. Since this references std::map it also needs to #include <map>. #

Patch Set 9 : Fix compile problem on win8, as indicated by trybot. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -81 lines) Patch
M include/v8-util.h View 1 2 3 4 5 6 7 8 8 chunks +137 lines, -39 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 6 4 chunks +15 lines, -42 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
vogelheim
This is a continuation of issue 195793024. Please have a look. I'm not really sure ...
6 years, 9 months ago (2014-03-17 10:50:53 UTC) #1
dcarney
> https://codereview.chromium.org/201643003/diff/20001/include/v8-util.h#newcode42 > include/v8-util.h:42: typedef uintptr_t PersistentContainerValue; > This definition is a bit random... I ...
6 years, 9 months ago (2014-03-17 12:53:48 UTC) #2
dcarney
https://codereview.chromium.org/201643003/diff/60001/include/v8-util.h File include/v8-util.h (right): https://codereview.chromium.org/201643003/diff/60001/include/v8-util.h#newcode46 include/v8-util.h:46: namespace persistent_value_map_traits { no need for a new namespace ...
6 years, 9 months ago (2014-03-17 12:53:55 UTC) #3
vogelheim
PTAL. https://codereview.chromium.org/201643003/diff/60001/include/v8-util.h File include/v8-util.h (right): https://codereview.chromium.org/201643003/diff/60001/include/v8-util.h#newcode46 include/v8-util.h:46: namespace persistent_value_map_traits { On 2014/03/17 12:53:55, dcarney wrote: ...
6 years, 9 months ago (2014-03-17 19:20:37 UTC) #4
vogelheim
It turns out I was being daft, and removing the default implementations works as it ...
6 years, 9 months ago (2014-03-18 10:47:54 UTC) #5
vogelheim
PTAL. I think this should address the review comments.
6 years, 9 months ago (2014-03-18 12:05:54 UTC) #6
dcarney
looking good, i still don't like the problem with the overrides https://codereview.chromium.org/201643003/diff/120001/include/v8-util.h File include/v8-util.h (right): ...
6 years, 9 months ago (2014-03-18 12:13:19 UTC) #7
vogelheim
https://codereview.chromium.org/201643003/diff/120001/include/v8-util.h File include/v8-util.h (right): https://codereview.chromium.org/201643003/diff/120001/include/v8-util.h#newcode87 include/v8-util.h:87: static void Dispose(v8::Isolate* isolate, v8::UniquePersistent<V> value, On 2014/03/18 12:13:19, ...
6 years, 9 months ago (2014-03-18 12:55:12 UTC) #8
dcarney
great, lgtm
6 years, 9 months ago (2014-03-18 13:48:52 UTC) #9
dcarney
great, lgtm
6 years, 9 months ago (2014-03-18 13:48:52 UTC) #10
dcarney
6 years, 9 months ago (2014-03-18 15:01:18 UTC) #11
Message was sent while issue was closed.
Committed patchset #9 manually as r20038 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698