|
|
Created:
3 years, 11 months ago by Igor Sheludko Modified:
3 years, 11 months ago CC:
v8-reviews_googlegroups.com Target Ref:
refs/pending/heads/master Project:
v8 Visibility:
Public. |
Description[build] Add more v8 build options and fix existing ones.
New options: v8_enable_trace_maps, v8_enable_v8_checks.
Renamed options for consistency: v8_object_print to v8_enable_object_print.
Fixed options: v8_enable_verify_heap, v8_enable_object_print.
BUG=
Review-Url: https://codereview.chromium.org/2625393003
Cr-Commit-Position: refs/heads/master@{#42338}
Committed: https://chromium.googlesource.com/v8/v8/+/b90822950004553ecaef48ea04977c8f14bc013e
Patch Set 1 #
Total comments: 5
Patch Set 2 : Addressing comments #Patch Set 3 : Rename v8_object_print to v8_enable_object_print #
Total comments: 1
Messages
Total messages: 25 (17 generated)
ishell@chromium.org changed reviewers: + jochen@chromium.org
PTAL
The CQ bit was checked by ishell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
jochen@chromium.org changed reviewers: + machenbach@chromium.org
deferring to machenbach
Thanks for making those properly overridable! A nit suggestion and a comment. https://codereview.chromium.org/2625393003/diff/1/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2625393003/diff/1/BUILD.gn#newcode61 BUILD.gn:61: v8_enable_v8_checks = "" How about just calling it v8_enable_checks just like the define? https://codereview.chromium.org/2625393003/diff/1/BUILD.gn#newcode102 BUILD.gn:102: if (v8_object_print == "") { object_print, enable_disassembler and trace_maps were enabled by default in all debug builds by the code in line 356 on the left. Now they will only be enabled in non-optimized debug builds. Is that really what we want? How about removing the && !v8_optimized_debug here to not change semantics now?
https://codereview.chromium.org/2625393003/diff/1/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2625393003/diff/1/BUILD.gn#newcode61 BUILD.gn:61: v8_enable_v8_checks = "" On 2017/01/13 14:34:06, Michael Achenbach wrote: > How about just calling it v8_enable_checks just like the define? Given the flags naming scheme (v8_enable_blah_blah) the v8_enable_checks will sound like this flag controls all the checks in V8 while it controls checks in v8.h only. I'd leave it as is. https://codereview.chromium.org/2625393003/diff/1/BUILD.gn#newcode102 BUILD.gn:102: if (v8_object_print == "") { On 2017/01/13 14:34:06, Michael Achenbach wrote: > object_print, enable_disassembler and trace_maps were enabled by default in all > debug builds by the code in line 356 on the left. Now they will only be enabled > in non-optimized debug builds. > > Is that really what we want? How about removing the && !v8_optimized_debug here > to not change semantics now? Good point. Done.
The CQ bit was checked by ishell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
lgtm https://codereview.chromium.org/2625393003/diff/1/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2625393003/diff/1/BUILD.gn#newcode61 BUILD.gn:61: v8_enable_v8_checks = "" On 2017/01/13 16:04:59, Igor Sheludko wrote: > On 2017/01/13 14:34:06, Michael Achenbach wrote: > > How about just calling it v8_enable_checks just like the define? > > Given the flags naming scheme (v8_enable_blah_blah) the v8_enable_checks will > sound like this flag controls all the checks in V8 while it controls checks in > v8.h only. I'd leave it as is. Acknowledged.
Description was changed from ========== [build] Add more v8 build options and fix existing. New options: v8_enable_trace_maps, v8_enable_v8_checks. Fixed options: v8_enable_verify_heap, v8_object_print. BUG= ========== to ========== [build] Add more v8 build options and fix existing. New options: v8_enable_trace_maps, v8_enable_v8_checks. Renamed options for consistency: v8_object_print to v8_enable_object_print. Fixed options: v8_enable_verify_heap, v8_enable_object_print. BUG= ==========
The CQ bit was checked by ishell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== [build] Add more v8 build options and fix existing. New options: v8_enable_trace_maps, v8_enable_v8_checks. Renamed options for consistency: v8_object_print to v8_enable_object_print. Fixed options: v8_enable_verify_heap, v8_enable_object_print. BUG= ========== to ========== [build] Add more v8 build options and fix existing ones. New options: v8_enable_trace_maps, v8_enable_v8_checks. Renamed options for consistency: v8_object_print to v8_enable_object_print. Fixed options: v8_enable_verify_heap, v8_enable_object_print. BUG= ==========
still lgtm https://codereview.chromium.org/2625393003/diff/40001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2625393003/diff/40001/BUILD.gn#newcode55 BUILD.gn:55: v8_enable_object_print = "" ok as it is consistent with the other flags now. But now it's inconsistent with gyp and Makefile. But that's legacy and might not live too much longer...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by ishell@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 40001, "attempt_start_ts": 1484328403807580, "parent_rev": "57a87a52700deffdcb89d19de4d5163c4e6878fd", "commit_rev": "b90822950004553ecaef48ea04977c8f14bc013e"}
Message was sent while issue was closed.
Description was changed from ========== [build] Add more v8 build options and fix existing ones. New options: v8_enable_trace_maps, v8_enable_v8_checks. Renamed options for consistency: v8_object_print to v8_enable_object_print. Fixed options: v8_enable_verify_heap, v8_enable_object_print. BUG= ========== to ========== [build] Add more v8 build options and fix existing ones. New options: v8_enable_trace_maps, v8_enable_v8_checks. Renamed options for consistency: v8_object_print to v8_enable_object_print. Fixed options: v8_enable_verify_heap, v8_enable_object_print. BUG= Review-Url: https://codereview.chromium.org/2625393003 Cr-Commit-Position: refs/heads/master@{#42338} Committed: https://chromium.googlesource.com/v8/v8/+/b90822950004553ecaef48ea04977c8f14b... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/v8/v8/+/b90822950004553ecaef48ea04977c8f14b... |