Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Issue 12633013: Improve the v8::Object uniqueness check in V8ValueConverterImpl (Closed)

Created:
7 years, 9 months ago by vabr (Chromium)
Modified:
7 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Improve the v8::Object uniqueness check in V8ValueConverterImpl Previously it used a set with identity hashes of the objects. Those are not necessarily unique, so now it also stores the handle (with the id hashes as keys), and checks the handle equality for objects with identical hashes. BUG=177662 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189284

Patch Set 1 : #

Total comments: 10

Patch Set 2 : Comments addressed #

Total comments: 2

Patch Set 3 : Comments addressed + unit tests added #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -25 lines) Patch
M content/renderer/v8_value_converter_impl.h View 1 2 5 chunks +20 lines, -4 lines 0 comments Download
M content/renderer/v8_value_converter_impl.cc View 1 2 13 chunks +36 lines, -21 lines 0 comments Download
M content/renderer/v8_value_converter_impl_unittest.cc View 1 2 3 chunks +98 lines, -0 lines 2 comments Download

Messages

Total messages: 13 (0 generated)
vabr (Chromium)
Hi eaugusti, This is an implementation of https://code.google.com/p/chromium/issues/detail?id=177662#c13. Could you please review, or suggest a ...
7 years, 9 months ago (2013-03-14 14:24:19 UTC) #1
eaugusti
Looking pretty good, just a few small comments. I would add someone from the v8 ...
7 years, 9 months ago (2013-03-14 17:21:09 UTC) #2
vabr (Chromium)
Sven, Since I already talked to you about this problem with identity hashes, could you ...
7 years, 9 months ago (2013-03-14 17:59:37 UTC) #3
eaugusti
Could you add some tests for this? I remember that you said that you could ...
7 years, 9 months ago (2013-03-14 18:19:35 UTC) #4
vabr (Chromium)
On 2013/03/14 18:19:35, eaugusti wrote: > Could you add some tests for this? > > ...
7 years, 9 months ago (2013-03-14 18:29:21 UTC) #5
Sven Panne
I don't know the details of V8ValueConverterImpl, but from the v8 side, the CL looks ...
7 years, 9 months ago (2013-03-15 08:58:16 UTC) #6
vabr (Chromium)
Thanks, eaugusti and Sven, for your helpful comments. I addressed all of them, please take ...
7 years, 9 months ago (2013-03-15 14:37:45 UTC) #7
eaugusti
lgtm
7 years, 9 months ago (2013-03-15 16:55:55 UTC) #8
vabr (Chromium)
Hi James, Could I get your OWNERS approval? eaugusti@ reviewed the patch. Cheers, Vaclav
7 years, 9 months ago (2013-03-15 17:00:08 UTC) #9
jamesr
lgtm
7 years, 9 months ago (2013-03-18 01:23:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/12633013/19001
7 years, 9 months ago (2013-03-18 08:34:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/12633013/19001
7 years, 9 months ago (2013-03-20 14:00:39 UTC) #12
commit-bot: I haz the power
7 years, 9 months ago (2013-03-20 15:35:22 UTC) #13
Message was sent while issue was closed.
Change committed as 189284

Powered by Google App Engine
This is Rietveld 408576698