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

Issue 293113008: Oilpan: add missing tracing of Attr objects. (Closed)

Created:
6 years, 7 months ago by sof
Modified:
6 years, 7 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, sof, eae+blinkwatch, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Oilpan: add missing tracing of Attr objects. The Attr's element needs to be accounted for when tracing. R=haraken@chromium.org BUG=357163 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174720

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -3 lines) Patch
M Source/core/dom/Attr.h View 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/dom/Attr.cpp View 3 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
sof
Please take a look. Crash reproducible with --enable-leak-detection & fast/dom/Attr/child-nodes-cache.html
6 years, 7 months ago (2014-05-23 15:34:43 UTC) #1
haraken
LGTM. Ian: Would it be possible to add a check to the plugin to verify ...
6 years, 7 months ago (2014-05-23 15:55:25 UTC) #2
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 7 months ago (2014-05-23 15:58:44 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/293113008/1
6 years, 7 months ago (2014-05-23 15:59:15 UTC) #4
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-23 17:21:02 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-23 18:45:10 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/8944)
6 years, 7 months ago (2014-05-23 18:45:11 UTC) #7
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 7 months ago (2014-05-23 21:22:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/293113008/1
6 years, 7 months ago (2014-05-23 21:23:43 UTC) #9
commit-bot: I haz the power
Change committed as 174720
6 years, 7 months ago (2014-05-23 22:19:01 UTC) #10
Mads Ager (chromium)
On 2014/05/23 15:55:25, haraken wrote: > LGTM. > > Ian: Would it be possible to ...
6 years, 7 months ago (2014-05-26 09:45:37 UTC) #11
zerny-chromium
6 years, 7 months ago (2014-05-26 09:51:16 UTC) #12
Message was sent while issue was closed.
On 2014/05/26 09:45:37, Mads Ager (chromium) wrote:
> On 2014/05/23 15:55:25, haraken wrote:
> > LGTM.
> > 
> > Ian: Would it be possible to add a check to the plugin to verify that
> GCObject*
> > is not used in other objects? Until we move the Node hierarchy to the heap,
we
> > can disable the verification for the Node hierarchy. I'm a bit concerned
that
> we
> > might ship some modules leaving some raw pointers in other objects (e.g.,
> > IDBRequest* in some other object).
> 
> Ian should confirm, but I'm pretty sure that the current rule in the plugin is
> that you cannot have raw pointers to objects that are shipping with oilpan but
> (because we have to allow it in the transition period) you can have raw
pointers
> to objects that are only WillBeGarbageCollected and not on by default.

That is right. When compiling with oilpan enabled, we do not require that raw
pointers be traced members. Doing so would force us to do very large changes or
to sprinkle GC_PLUGIN_IGNORE annotations everywhere. This check (along with
checks that we do not have RefPtr to GC allocated objects) is enabled when
running with oilpan disabled (ie, for fully enabled types we will make these
checks).

Powered by Google App Engine
This is Rietveld 408576698