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

Issue 2809653003: Introduce mkgrokdump to update tools/v8heapconst.py. (Closed)

Created:
3 years, 8 months ago by Yang
Modified:
3 years, 8 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

Introduce mkgrokdump to update tools/v8heapconst.py. - Migrate make grokdump to GYP and GN - Move code from d8 into stand-alone execution - Add test case to ensure it's up-to-date Review-Url: https://codereview.chromium.org/2809653003 Cr-Original-Original-Commit-Position: refs/heads/master@{#44687} Committed: https://chromium.googlesource.com/v8/v8/+/0cc0c130fa56f129c90c2a74cb01bda85df5e42a Review-Url: https://codereview.chromium.org/2809653003 Cr-Original-Commit-Position: refs/heads/master@{#44710} Committed: https://chromium.googlesource.com/v8/v8/+/477f00557458d383bd9ebef281890ba485ee882a Review-Url: https://codereview.chromium.org/2809653003 Cr-Commit-Position: refs/heads/master@{#44738} Committed: https://chromium.googlesource.com/v8/v8/+/9d71683e115d3ec9a99552580b47531b7147d626

Patch Set 1 #

Total comments: 14

Patch Set 2 : rename #

Patch Set 3 : address comments #

Total comments: 2

Patch Set 4 : addressed comments #

Total comments: 2

Patch Set 5 : fix #

Patch Set 6 : fix #

Patch Set 7 : another attempt #

Patch Set 8 : fix, another one #

Total comments: 1

Patch Set 9 : attempt to fix component build #

Patch Set 10 : also update expectation #

Patch Set 11 : o_o #

Patch Set 12 : only include immortal immovable roots #

Patch Set 13 : attempt to fix windows build #

Patch Set 14 : do not fail on non-default builds #

Patch Set 15 : another attempt #

Patch Set 16 : yet another #

Patch Set 17 : hopefully windows compiles now #

Patch Set 18 : fix #

Patch Set 19 : rebase #

Patch Set 20 : rebase #

Patch Set 21 : attempted fix #

Total comments: 1

Patch Set 22 : tryjob #

Patch Set 23 : just hack the trybot #

Patch Set 24 : still hacking it #

Patch Set 25 : Do not include code objects. #

Patch Set 26 : also move and rebaseline #

Patch Set 27 : attempt fix #

Patch Set 28 : remove infra hack #

Unified diffs Side-by-side diffs Delta from patch set Stats (+612 lines, -406 lines) Patch
M Makefile View 2 chunks +0 lines, -7 lines 0 comments Download
M gypfiles/all.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M src/d8.h View 1 2 3 25 26 27 2 chunks +0 lines, -2 lines 0 comments Download
M src/d8.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 3 chunks +0 lines, -75 lines 0 comments Download
M src/heap/heap.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 5 chunks +93 lines, -64 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +0 lines, -1 line 0 comments Download
M test/BUILD.gn View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -0 lines 0 comments Download
M test/bot_default.isolate View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M test/default.isolate View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A test/mkgrokdump/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +27 lines, -0 lines 0 comments Download
A test/mkgrokdump/DEPS View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
A test/mkgrokdump/mkgrokdump.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +133 lines, -0 lines 0 comments Download
A test/mkgrokdump/mkgrokdump.gyp View 1 2 3 4 5 6 1 chunk +46 lines, -0 lines 0 comments Download
A test/mkgrokdump/mkgrokdump.isolate View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
A test/mkgrokdump/mkgrokdump.status View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
A test/mkgrokdump/testcfg.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +49 lines, -0 lines 0 comments Download
M tools/run-tests.py View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M tools/v8heapconst.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 6 chunks +215 lines, -227 lines 0 comments Download
D tools/v8heapconst.py.tmpl View 1 chunk +0 lines, -30 lines 0 comments Download
M tools/verify_source_deps.py View 1 2 3 4 5 6 4 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 66 (43 generated)
Yang
Please take a look.
3 years, 8 months ago (2017-04-11 09:30:40 UTC) #2
Michael Starzinger
https://codereview.chromium.org/2809653003/diff/1/test/v8heapconst/testcfg.py File test/v8heapconst/testcfg.py (right): https://codereview.chromium.org/2809653003/diff/1/test/v8heapconst/testcfg.py#newcode11 test/v8heapconst/testcfg.py:11: class V8HeapConst(testsuite.TestSuite): How would you feel about calling this ...
3 years, 8 months ago (2017-04-11 09:42:39 UTC) #3
Michael Achenbach
https://codereview.chromium.org/2809653003/diff/1/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2809653003/diff/1/BUILD.gn#newcode2670 BUILD.gn:2670: v8_executable("mkgrokdump") { Note that due to GN's nature, this ...
3 years, 8 months ago (2017-04-11 09:45:54 UTC) #4
Yang
https://codereview.chromium.org/2809653003/diff/1/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2809653003/diff/1/BUILD.gn#newcode2670 BUILD.gn:2670: v8_executable("mkgrokdump") { On 2017/04/11 09:45:54, Michael Achenbach wrote: > ...
3 years, 8 months ago (2017-04-11 09:57:21 UTC) #5
Michael Starzinger
LGTM from my side. Thanks! Please wait for sign-off from Michael Achenbach as well.
3 years, 8 months ago (2017-04-11 10:01:44 UTC) #6
Michael Achenbach
You'll also need the executable in swarming, e.g. an equivalent to https://cs.chromium.org/chromium/src/v8/src/d8.isolate?q=d8.isolate+package:%5Echromium$&dr&l=9 - which you ...
3 years, 8 months ago (2017-04-11 10:53:49 UTC) #7
Michael Achenbach
https://codereview.chromium.org/2809653003/diff/40001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2809653003/diff/40001/BUILD.gn#newcode145 BUILD.gn:145: v8_generated_heap_constants = "$target_gen_dir/v8heapconst.py" Who's reading this?
3 years, 8 months ago (2017-04-11 10:56:18 UTC) #8
Yang
machenbach@: please take another look! https://codereview.chromium.org/2809653003/diff/40001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2809653003/diff/40001/BUILD.gn#newcode145 BUILD.gn:145: v8_generated_heap_constants = "$target_gen_dir/v8heapconst.py" On ...
3 years, 8 months ago (2017-04-12 10:32:38 UTC) #9
Michael Achenbach
Trying to run a trybot to check how this looks... https://codereview.chromium.org/2809653003/diff/60001/test/BUILD.gn File test/BUILD.gn (right): https://codereview.chromium.org/2809653003/diff/60001/test/BUILD.gn#newcode152 ...
3 years, 8 months ago (2017-04-12 12:33:42 UTC) #10
Michael Achenbach
On 2017/04/12 12:33:42, Michael Achenbach wrote: > Trying to run a trybot to check how ...
3 years, 8 months ago (2017-04-12 12:37:42 UTC) #11
Michael Achenbach
https://codereview.chromium.org/2809653003/diff/60001/test/BUILD.gn File test/BUILD.gn (right): https://codereview.chromium.org/2809653003/diff/60001/test/BUILD.gn#newcode51 test/BUILD.gn:51: ":mkgrokdump_run", See build failure: I assume :mkgrokdump_run can be ...
3 years, 8 months ago (2017-04-12 12:39:12 UTC) #12
Yang
YES! Finally works! Look at what I did!
3 years, 8 months ago (2017-04-13 12:00:57 UTC) #13
Michael Achenbach
lgtm, lets also verify that the test ran, e.g. search it in the output of ...
3 years, 8 months ago (2017-04-13 12:12:35 UTC) #18
Yang
On 2017/04/13 12:12:35, Michael Achenbach wrote: > lgtm, lets also verify that the test ran, ...
3 years, 8 months ago (2017-04-13 12:28:45 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2809653003/350001
3 years, 8 months ago (2017-04-18 14:02:34 UTC) #45
commit-bot: I haz the power
Committed patchset #19 (id:350001) as https://chromium.googlesource.com/v8/v8/+/0cc0c130fa56f129c90c2a74cb01bda85df5e42a
3 years, 8 months ago (2017-04-18 14:05:35 UTC) #48
Yang
A revert of this CL (patchset #19 id:350001) has been created in https://codereview.chromium.org/2824853003/ by yangguo@chromium.org. ...
3 years, 8 months ago (2017-04-18 14:40:56 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2809653003/390001
3 years, 8 months ago (2017-04-19 05:42:49 UTC) #53
commit-bot: I haz the power
Committed patchset #21 (id:390001) as https://chromium.googlesource.com/v8/v8/+/477f00557458d383bd9ebef281890ba485ee882a
3 years, 8 months ago (2017-04-19 06:10:24 UTC) #56
Michael Achenbach
A revert of this CL (patchset #21 id:390001) has been created in https://codereview.chromium.org/2826743003/ by machenbach@chromium.org. ...
3 years, 8 months ago (2017-04-19 07:02:43 UTC) #57
Michael Achenbach
https://codereview.chromium.org/2809653003/diff/390001/test/mkgrokdump/testcfg.py File test/mkgrokdump/testcfg.py (right): https://codereview.chromium.org/2809653003/diff/390001/test/mkgrokdump/testcfg.py#newcode33 test/mkgrokdump/testcfg.py:33: assert "generated from a shipping build" in output.stdout Don't ...
3 years, 8 months ago (2017-04-19 07:04:29 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2809653003/520001
3 years, 8 months ago (2017-04-20 05:16:25 UTC) #62
commit-bot: I haz the power
3 years, 8 months ago (2017-04-20 06:15:10 UTC) #66
Message was sent while issue was closed.
Committed patchset #28 (id:520001) as
https://chromium.googlesource.com/v8/v8/+/9d71683e115d3ec9a99552580b47531b714...

Powered by Google App Engine
This is Rietveld 408576698