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

Issue 666473003: Blink GC plugin: Gracefully handle cyclic part objects. (Closed)

Created:
6 years, 2 months ago by sof
Modified:
6 years ago
Reviewers:
oilpan-reviews, haraken
CC:
chromium-reviews, Nico
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Blink GC plugin: Gracefully handle cyclic part objects. When checking a class if it or its part objects don't define GC roots, avoid looping on part objects that are cyclic. i.e., the part object containing a collection that refers back to itself. R=haraken BUG=424962 Committed: https://crrev.com/fa4843d2396ab7540007d5efaf18c767cf92ce5d Cr-Commit-Position: refs/heads/master@{#300256}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -6 lines) Patch
M tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp View 4 chunks +8 lines, -0 lines 0 comments Download
M tools/clang/blink_gc_plugin/tests/crash_on_invalid.txt View 1 chunk +8 lines, -1 line 0 comments Download
M tools/clang/blink_gc_plugin/tests/fields_require_tracing.h View 2 chunks +12 lines, -0 lines 0 comments Download
M tools/clang/blink_gc_plugin/tests/fields_require_tracing.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M tools/clang/blink_gc_plugin/tests/fields_require_tracing.txt View 1 chunk +11 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
sof
Please take a look. Running into this with ContextMenuItem. (While here, I also updated the ...
6 years, 2 months ago (2014-10-17 16:53:30 UTC) #2
haraken
LGTM
6 years, 2 months ago (2014-10-17 17:18:10 UTC) #3
sof
Cc: +thakis, hans fyi - this crasher doesn't currently show with Blink's ToT (*), but ...
6 years, 2 months ago (2014-10-17 18:41:11 UTC) #4
hans
On 2014/10/17 18:41:11, sof wrote: > Cc: +thakis, hans > > fyi - this crasher ...
6 years, 2 months ago (2014-10-17 18:48:54 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/666473003/1
6 years, 2 months ago (2014-10-20 12:35:04 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years, 2 months ago (2014-10-20 12:59:37 UTC) #8
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/fa4843d2396ab7540007d5efaf18c767cf92ce5d Cr-Commit-Position: refs/heads/master@{#300256}
6 years, 2 months ago (2014-10-20 13:00:18 UTC) #9
sof
On 2014/10/17 18:48:54, hans wrote: > On 2014/10/17 18:41:11, sof wrote: > > Cc: +thakis, ...
6 years, 1 month ago (2014-11-19 10:59:23 UTC) #10
Nico
On Wed, Nov 19, 2014 at 2:59 AM, <sigbjornf@opera.com> wrote: > On 2014/10/17 18:48:54, hans ...
6 years, 1 month ago (2014-11-19 17:42:25 UTC) #11
sof
On 2014/11/19 17:42:25, Nico wrote: > On Wed, Nov 19, 2014 at 2:59 AM, <mailto:sigbjornf@opera.com> ...
6 years ago (2014-12-01 19:39:29 UTC) #12
Nico
6 years ago (2014-12-01 19:55:56 UTC) #13
Message was sent while issue was closed.
On Mon, Dec 1, 2014 at 11:39 AM, <sigbjornf@opera.com> wrote:

> On 2014/11/19 17:42:25, Nico wrote:
>
>> On Wed, Nov 19, 2014 at 2:59 AM, <mailto:sigbjornf@opera.com> wrote:
>>
>
>  > On 2014/10/17 18:48:54, hans wrote:
>> >
>> >> On 2014/10/17 18:41:11, sof wrote:
>> >> > Cc: +thakis, hans
>> >> >
>> >> > fyi - this crasher doesn't currently show with Blink's ToT (*), but
>> >> it'd be
>> >> good
>> >> > to have the fix be considered for the next clang roll.
>> >> >
>> >> > * - GC_PLUGIN_IGNORE() annotations can be used to work around the
>> bug,
>> >>
>> > should
>> >
>> >> a
>> >> > recursive "part object" start being used from a GCed class. One place
>> >> where
>> >> such
>> >> > a thing will show up soon is for context menu objects and their use
>> of
>> >> the
>> >> > recursive ContextMenuItem.
>> >>
>> >
>> >  Thanks! I just landed a Clang roll this week, and I'll make sure this
>> >> patch is
>> >> in when I build packages for the next roll.
>> >>
>> >
>> > Looks like the last clang roll (2014-11-12) didn't include this?
>> >
>>
>
>  That roll got reverted in #304109
>>
>
>
> oh; I'm just indirectly tracking via
> http://commondatastorage.googleapis.com/chromium-browser-clang/index.html
>
> Are there better alternatives/bugs to follow to stay up-to-date on status?
>

The bots look at CLANG_REVISION in tools/clang/scripts/update.sh


>
>
> https://codereview.chromium.org/666473003/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698