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

Issue 1158623002: Extend destructor checks to account for eagerly finalized class types. (Closed)

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

Description

Extend destructor checks to account for eagerly finalized class types. Classes annotated as being eagerly finalized are allowed to touch other heap objects in their destructors, provided these are not also eagerly finalized. Extend the CheckFinalizerVisitor implementation to take that into account R=haraken BUG=491488 Committed: https://crrev.com/0cb71ff110ab4c8f7b06e70879c0b0e4a426c318 Cr-Commit-Position: refs/heads/master@{#331331}

Patch Set 1 #

Patch Set 2 : updated to look for IsEagerlyFinalizedMarker instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+201 lines, -15 lines) Patch
M tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp View 12 chunks +80 lines, -15 lines 0 comments Download
M tools/clang/blink_gc_plugin/Config.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M tools/clang/blink_gc_plugin/RecordInfo.h View 2 chunks +3 lines, -0 lines 0 comments Download
M tools/clang/blink_gc_plugin/RecordInfo.cpp View 2 chunks +18 lines, -0 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/destructor_eagerly_finalized.h View 1 chunk +47 lines, -0 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/destructor_eagerly_finalized.cpp View 1 chunk +37 lines, -0 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/destructor_eagerly_finalized.txt View 1 chunk +13 lines, -0 lines 0 comments Download
M tools/clang/blink_gc_plugin/tests/heap/stubs.h View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (4 generated)
haraken
LGTM You might want to replace all existing USE_PRE_FINALIZER()s with EAGERLY_FINALIZED() and confirm that this ...
5 years, 7 months ago (2015-05-25 00:19:21 UTC) #2
haraken
5 years, 7 months ago (2015-05-25 00:19:33 UTC) #4
sof
On 2015/05/25 00:19:21, haraken wrote: > LGTM > > You might want to replace all ...
5 years, 7 months ago (2015-05-25 05:52:48 UTC) #5
sof
On 2015/05/25 05:52:48, sof wrote: > On 2015/05/25 00:19:21, haraken wrote: > > LGTM > ...
5 years, 7 months ago (2015-05-26 06:12:22 UTC) #6
haraken
On 2015/05/26 06:12:22, sof wrote: > On 2015/05/25 05:52:48, sof wrote: > > On 2015/05/25 ...
5 years, 7 months ago (2015-05-26 06:18:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1158623002/20001
5 years, 7 months ago (2015-05-26 06:18:19 UTC) #10
sof
hans@, thakis@: getting this GC plugin change rolled out would unblock work on Oilpan stabilization ...
5 years, 7 months ago (2015-05-26 06:28:16 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 7 months ago (2015-05-26 07:08:46 UTC) #12
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/0cb71ff110ab4c8f7b06e70879c0b0e4a426c318 Cr-Commit-Position: refs/heads/master@{#331331}
5 years, 7 months ago (2015-05-26 07:10:43 UTC) #13
hans
On 2015/05/26 06:28:16, sof wrote: > hans@, thakis@: getting this GC plugin change rolled out ...
5 years, 7 months ago (2015-05-26 17:30:39 UTC) #14
sof
On 2015/05/26 17:30:39, hans wrote: > On 2015/05/26 06:28:16, sof wrote: > > hans@, thakis@: ...
5 years, 7 months ago (2015-05-26 18:35:52 UTC) #15
Nico
it'll totally stick it'll totally stick it'll totally stick lalalalala (more seriously, it's already attempt ...
5 years, 7 months ago (2015-05-26 18:47:09 UTC) #16
sof
On 2015/05/26 18:47:09, Nico wrote: > it'll totally stick it'll totally stick it'll totally stick ...
5 years, 6 months ago (2015-05-28 07:08:01 UTC) #17
Nico
On Thu, May 28, 2015 at 12:08 AM, <sigbjornf@opera.com> wrote: > On 2015/05/26 18:47:09, Nico ...
5 years, 6 months ago (2015-05-28 07:21:48 UTC) #18
sof
On 2015/05/28 07:21:48, Nico wrote: > On Thu, May 28, 2015 at 12:08 AM, <mailto:sigbjornf@opera.com> ...
5 years, 6 months ago (2015-05-28 07:38:26 UTC) #19
haraken
On 2015/05/28 07:38:26, sof wrote: > On 2015/05/28 07:21:48, Nico wrote: > > On Thu, ...
5 years, 6 months ago (2015-06-02 00:36:07 UTC) #20
Nico
Hans prepared a new clang package last Friday, but the script to upload it to ...
5 years, 6 months ago (2015-06-02 00:45:32 UTC) #21
Nico
We landed a compiler with this plugin change yesterday night, you should be unblocked now. ...
5 years, 6 months ago (2015-06-03 20:09:27 UTC) #22
sof
5 years, 6 months ago (2015-06-03 20:57:12 UTC) #23
Message was sent while issue was closed.
On 2015/06/03 20:09:27, Nico wrote:
> We landed a compiler with this plugin change yesterday night, you should be
> unblocked now.
> 

Oh, yes :) Thanks for the heads up, I failed to notice that earlier today.
Great; that unblocks a few things by now.

https://codereview.chromium.org/1151163002/#ps20001 's linux_blink_oilpan_dbg
build is one place where the updated GC plugin is being put to good use.

Powered by Google App Engine
This is Rietveld 408576698