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

Issue 1609233002: Do not eagerly instantiate accessors' JSFunction. (Closed)

Created:
4 years, 11 months ago by epertoso
Modified:
4 years, 10 months ago
Reviewers:
Toon Verwaest
CC:
jochen (gone - plz use gerrit), v8-reviews_googlegroups.com, Toon Verwaest
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Do not eagerly instantiate accessors' JSFunction. BUG= Committed: https://crrev.com/4d46b510caf534d770ce19a01a11b8796304471b Cr-Commit-Position: refs/heads/master@{#33812} Committed: https://crrev.com/e3458155994424801d7f22cd8bc21347266b2c4d Cr-Commit-Position: refs/heads/master@{#33851}

Patch Set 1 #

Patch Set 2 : Update. #

Patch Set 3 : Update. #

Total comments: 2

Patch Set 4 : Update. #

Patch Set 5 : Update. #

Total comments: 6

Patch Set 6 : Update #

Patch Set 7 : Update. #

Total comments: 2

Patch Set 8 : Update #

Patch Set 9 : Update. #

Patch Set 10 : Make GCMole happy again. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+412 lines, -275 lines) Patch
M src/api-natives.cc View 1 2 3 4 5 6 7 9 chunks +43 lines, -33 lines 0 comments Download
M src/arguments.h View 1 2 3 2 chunks +10 lines, -12 lines 0 comments Download
M src/arm/code-stubs-arm.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -6 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -6 lines 0 comments Download
M src/builtins.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/builtins.cc View 1 2 3 4 5 6 7 8 10 chunks +21 lines, -16 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 5 6 7 3 chunks +6 lines, -2 lines 0 comments Download
M src/crankshaft/hydrogen.h View 1 2 3 4 5 6 4 chunks +11 lines, -20 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 1 2 3 4 5 6 7 9 chunks +41 lines, -33 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -6 lines 0 comments Download
M src/ic/arm/handler-compiler-arm.cc View 1 2 3 4 5 6 7 2 chunks +13 lines, -6 lines 0 comments Download
M src/ic/arm64/handler-compiler-arm64.cc View 1 2 3 4 5 6 7 2 chunks +13 lines, -6 lines 0 comments Download
M src/ic/call-optimization.h View 2 chunks +2 lines, -1 line 0 comments Download
M src/ic/call-optimization.cc View 1 2 3 4 2 chunks +22 lines, -7 lines 0 comments Download
M src/ic/ia32/handler-compiler-ia32.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -4 lines 0 comments Download
M src/ic/ic.cc View 1 2 3 4 5 2 chunks +41 lines, -43 lines 0 comments Download
M src/ic/mips/handler-compiler-mips.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -4 lines 0 comments Download
M src/ic/mips64/handler-compiler-mips64.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -4 lines 0 comments Download
M src/ic/ppc/handler-compiler-ppc.cc View 1 2 3 4 5 6 7 2 chunks +13 lines, -7 lines 0 comments Download
M src/ic/x64/handler-compiler-x64.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -4 lines 0 comments Download
M src/ic/x87/handler-compiler-x87.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -4 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -6 lines 0 comments Download
M src/mips64/code-stubs-mips64.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -6 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 9 7 chunks +44 lines, -14 lines 0 comments Download
M src/ppc/code-stubs-ppc.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -6 lines 0 comments Download
M src/runtime/runtime-debug.cc View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -3 lines 0 comments Download
M src/runtime/runtime-object.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -2 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -6 lines 0 comments Download
M src/x87/code-stubs-x87.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -6 lines 0 comments Download

Messages

Total messages: 34 (12 generated)
epertoso
Not really ready for review yet. I kind of dislike the unchecked cast going on ...
4 years, 11 months ago (2016-01-20 10:59:51 UTC) #1
Toon Verwaest
Agree that cast looks pretty ugly. Otoh I don't think it should block the entire ...
4 years, 11 months ago (2016-01-22 12:11:36 UTC) #3
epertoso
https://codereview.chromium.org/1609233002/diff/40001/src/builtins.cc File src/builtins.cc (right): https://codereview.chromium.org/1609233002/diff/40001/src/builtins.cc#newcode3417 src/builtins.cc:3417: : Handle<FunctionTemplateInfo>(Handle<JSFunction>::cast(function) On 2016/01/22 at 12:11:36, Toon Verwaest wrote: ...
4 years, 11 months ago (2016-01-22 14:36:35 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1609233002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1609233002/60001
4 years, 11 months ago (2016-01-22 14:36:53 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-22 15:04:33 UTC) #8
epertoso
I specialized BuiltinArguments::target. Please take another look.
4 years, 11 months ago (2016-01-27 16:31:01 UTC) #10
Toon Verwaest
Some additional remarks. https://codereview.chromium.org/1609233002/diff/100001/src/api-natives.cc File src/api-natives.cc (right): https://codereview.chromium.org/1609233002/diff/100001/src/api-natives.cc#newcode45 src/api-natives.cc:45: PropertyAttributes attributes) { To default to ...
4 years, 10 months ago (2016-01-28 12:05:19 UTC) #11
epertoso
https://codereview.chromium.org/1609233002/diff/100001/src/api-natives.cc File src/api-natives.cc (right): https://codereview.chromium.org/1609233002/diff/100001/src/api-natives.cc#newcode45 src/api-natives.cc:45: PropertyAttributes attributes) { On 2016/01/28 at 12:05:19, Toon Verwaest ...
4 years, 10 months ago (2016-02-01 16:18:04 UTC) #12
haraken
(I'm just curious but would the LazyAccessorpair be available in the near future? I'm not ...
4 years, 10 months ago (2016-02-05 11:05:12 UTC) #13
Toon Verwaest
lgtm with a final comment https://codereview.chromium.org/1609233002/diff/140001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1609233002/diff/140001/src/objects.cc#newcode7281 src/objects.cc:7281: it->TransitionToAccessorPair(new_pair, it->property_attributes()); You can ...
4 years, 10 months ago (2016-02-08 10:07:43 UTC) #14
epertoso
https://codereview.chromium.org/1609233002/diff/140001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1609233002/diff/140001/src/objects.cc#newcode7281 src/objects.cc:7281: it->TransitionToAccessorPair(new_pair, it->property_attributes()); On 2016/02/08 at 10:07:43, Toon Verwaest wrote: ...
4 years, 10 months ago (2016-02-08 10:53:29 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1609233002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1609233002/160001
4 years, 10 months ago (2016-02-08 11:19:48 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: v8_win64_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win64_rel_ng/builds/2599)
4 years, 10 months ago (2016-02-08 11:28:47 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1609233002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1609233002/180001
4 years, 10 months ago (2016-02-08 11:57:44 UTC) #23
commit-bot: I haz the power
Committed patchset #9 (id:180001)
4 years, 10 months ago (2016-02-08 12:25:39 UTC) #24
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/4d46b510caf534d770ce19a01a11b8796304471b Cr-Commit-Position: refs/heads/master@{#33812}
4 years, 10 months ago (2016-02-08 12:26:24 UTC) #26
Michael Achenbach
A revert of this CL (patchset #9 id:180001) has been created in https://codereview.chromium.org/1679683004/ by machenbach@chromium.org. ...
4 years, 10 months ago (2016-02-08 12:47:55 UTC) #27
epertoso
I fixed the issue GCMole was complaining about (in runtime-debug.cc). AccessorPair::GetComponent is now static. Please, ...
4 years, 10 months ago (2016-02-08 14:37:55 UTC) #28
Toon Verwaest
lgtm
4 years, 10 months ago (2016-02-09 15:55:44 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1609233002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1609233002/200001
4 years, 10 months ago (2016-02-09 15:57:35 UTC) #31
commit-bot: I haz the power
Committed patchset #10 (id:200001)
4 years, 10 months ago (2016-02-09 16:28:20 UTC) #32
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 16:28:56 UTC) #34
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/e3458155994424801d7f22cd8bc21347266b2c4d
Cr-Commit-Position: refs/heads/master@{#33851}

Powered by Google App Engine
This is Rietveld 408576698