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

Issue 207913002: Global cycle detection analysis. (Closed)

Created:
6 years, 9 months ago by zerny-chromium
Modified:
6 years, 9 months ago
CC:
chromium-reviews, oilpan-reviews
Visibility:
Public.

Description

Global cycle detection analysis. This adds a detect-cycles flag to the plugin which will cause each compilation unit to output a .graph.json file describing the points-to graph of that compilation unit. The process-graph.py script can then be used to process the graph files to detect cycles involving GC roots. BUG=334149 R=ager@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258898

Patch Set 1 #

Total comments: 3

Patch Set 2 : Review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+711 lines, -57 lines) Patch
M tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp View 9 chunks +139 lines, -2 lines 0 comments Download
M tools/clang/blink_gc_plugin/Config.h View 2 chunks +19 lines, -0 lines 0 comments Download
M tools/clang/blink_gc_plugin/Edge.h View 9 chunks +10 lines, -0 lines 0 comments Download
A tools/clang/blink_gc_plugin/JsonWriter.h View 1 chunk +73 lines, -0 lines 0 comments Download
M tools/clang/blink_gc_plugin/RecordInfo.cpp View 4 chunks +8 lines, -15 lines 0 comments Download
A tools/clang/blink_gc_plugin/process-graph.py View 1 1 chunk +283 lines, -0 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/cycle_ptrs.h View 1 chunk +54 lines, -0 lines 0 comments Download
A + tools/clang/blink_gc_plugin/tests/cycle_ptrs.cpp View 1 chunk +6 lines, -3 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/cycle_ptrs.flags View 1 chunk +1 line, -0 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/cycle_ptrs.txt View 1 chunk +7 lines, -0 lines 0 comments Download
A + tools/clang/blink_gc_plugin/tests/cycle_sub.h View 1 chunk +13 lines, -14 lines 0 comments Download
A + tools/clang/blink_gc_plugin/tests/cycle_sub.cpp View 1 chunk +4 lines, -3 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/cycle_sub.flags View 1 chunk +1 line, -0 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/cycle_sub.txt View 1 chunk +5 lines, -0 lines 0 comments Download
A + tools/clang/blink_gc_plugin/tests/cycle_super.h View 1 chunk +15 lines, -11 lines 0 comments Download
A + tools/clang/blink_gc_plugin/tests/cycle_super.cpp View 1 chunk +10 lines, -3 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/cycle_super.flags View 1 chunk +1 line, -0 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/cycle_super.txt View 1 chunk +4 lines, -0 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/cycle_super_neg.h View 1 chunk +44 lines, -0 lines 0 comments Download
A + tools/clang/blink_gc_plugin/tests/cycle_super_neg.cpp View 1 chunk +4 lines, -5 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/cycle_super_neg.flags View 1 chunk +1 line, -0 lines 0 comments Download
A + tools/clang/blink_gc_plugin/tests/cycle_super_neg.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
M tools/clang/blink_gc_plugin/tests/test.sh View 1 chunk +4 lines, -0 lines 0 comments Download
M tools/clang/scripts/blink_gc_plugin_flags.sh View 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
zerny-chromium
6 years, 9 months ago (2014-03-21 09:48:09 UTC) #1
zerny-chromium
Blink side CL: https://codereview.chromium.org/207393003/
6 years, 9 months ago (2014-03-21 09:50:46 UTC) #2
Mads Ager (chromium)
LGTM https://codereview.chromium.org/207913002/diff/1/tools/clang/blink_gc_plugin/process-graph.py File tools/clang/blink_gc_plugin/process-graph.py (right): https://codereview.chromium.org/207913002/diff/1/tools/clang/blink_gc_plugin/process-graph.py#newcode28 tools/clang/blink_gc_plugin/process-graph.py:28: # command line args after parsing. Start comments ...
6 years, 9 months ago (2014-03-21 11:45:56 UTC) #3
zerny-chromium
Thanks for the review. Addresses your comments in the new patch-set.
6 years, 9 months ago (2014-03-24 07:07:20 UTC) #4
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 9 months ago (2014-03-24 07:07:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/207913002/20001
6 years, 9 months ago (2014-03-24 07:08:08 UTC) #6
commit-bot: I haz the power
6 years, 9 months ago (2014-03-24 09:38:11 UTC) #7
Message was sent while issue was closed.
Change committed as 258898

Powered by Google App Engine
This is Rietveld 408576698