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

Issue 782073002: Optimize add/set/delete operations for string keys in Maps and Sets (Closed)

Created:
6 years ago by adamk
Modified:
6 years ago
CC:
v8-dev, rossberg, arv (Not doing code reviews)
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

Optimize add/set/delete operations for string keys in Maps and Sets This was previously landed in commit 8599f5f, but failed the collections mjsunit test on ia32 with --deopt-every-n=1. The fixed patch adds a ClearFlag(HValue::kCanOverflow) call after every arithmetic operation, which should remove all the deopt points in these intrinsics. Ideally, it seems like there should be a way to verify that there are no deopt points for these inline optimized functions, since there's nothing to deopt to. But I don't currently know of such a thing.

Patch Set 1 #

Patch Set 2 : Fixed patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+371 lines, -49 lines) Patch
M src/collection.js View 4 chunks +4 lines, -4 lines 0 comments Download
M src/hydrogen.h View 1 chunk +14 lines, -2 lines 0 comments Download
M src/hydrogen.cc View 1 5 chunks +338 lines, -38 lines 0 comments Download
M src/hydrogen-instructions.h View 1 chunk +7 lines, -0 lines 0 comments Download
M src/objects.h View 2 chunks +4 lines, -1 line 0 comments Download
M src/runtime/runtime.h View 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
adamk
Okay, this time it should really be fixed. I searched for all numeric operations and ...
6 years ago (2014-12-05 23:14:27 UTC) #2
Dmitry Lomov (no reviews)
On 2014/12/05 23:14:27, adamk wrote: > Okay, this time it should really be fixed. I ...
6 years ago (2014-12-05 23:40:59 UTC) #3
adamk
On 2014/12/05 23:40:59, Dmitry Lomov (chromium) wrote: > On 2014/12/05 23:14:27, adamk wrote: > > ...
6 years ago (2014-12-05 23:57:14 UTC) #4
adamk
On 2014/12/05 23:57:14, adamk wrote: > On 2014/12/05 23:40:59, Dmitry Lomov (chromium) wrote: > > ...
6 years ago (2014-12-06 00:03:49 UTC) #5
Dmitry Lomov (no reviews)
On 2014/12/06 00:03:49, adamk wrote: > On 2014/12/05 23:57:14, adamk wrote: > > On 2014/12/05 ...
6 years ago (2014-12-06 00:14:11 UTC) #6
Dmitry Lomov (no reviews)
lgtm
6 years ago (2014-12-08 10:54:05 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/782073002/20001
6 years ago (2014-12-08 17:35:52 UTC) #9
commit-bot: I haz the power
6 years ago (2014-12-08 18:03:39 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001)

Powered by Google App Engine
This is Rietveld 408576698