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

Issue 1172603002: Oilpan: Disabling lazy sweeping shouldn't deactivate EAGERLY_FINALIZE. (Closed)

Created:
5 years, 6 months ago by Yuta Kitamura
Modified:
5 years, 6 months ago
Reviewers:
haraken, oilpan-reviews, sof
CC:
blink-reviews, haraken, oilpan-reviews, kouhei+heap_chromium.org, Mads Ager (chromium)
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: Disabling lazy sweeping shouldn't deactivate EAGERLY_FINALIZE. Classes with EAGERLY_FINALIZE macro must be eagerly finalized irrespective of lazy sweeping enabled or disabled, because otherwise the destructor of such a class runs in an undefined order and may touch a pointer that's already freed up. This was found by Blink GC plugin making an error when built with ENABLE_OILPAN=1 and ENABLE_LAZY_SWEEPING=0 configuration. BUG=none R=oilpan-reviews@chromium.org, haraken@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196842

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -8 lines) Patch
M Source/platform/heap/Heap.h View 2 chunks +0 lines, -8 lines 2 comments Download

Messages

Total messages: 10 (2 generated)
Yuta Kitamura
5 years, 6 months ago (2015-06-09 10:20:54 UTC) #1
haraken
LGTM, but Sigbjorn should confirm.
5 years, 6 months ago (2015-06-09 10:24:57 UTC) #3
sof
The combinations are getting out of hand.. but we do need to support running the ...
5 years, 6 months ago (2015-06-09 13:58:51 UTC) #4
sof
On 2015/06/09 13:58:51, sof wrote: > The combinations are getting out of hand.. but we ...
5 years, 6 months ago (2015-06-09 13:59:42 UTC) #5
sof
https://codereview.chromium.org/1172603002/diff/1/Source/platform/heap/Heap.h File Source/platform/heap/Heap.h (left): https://codereview.chromium.org/1172603002/diff/1/Source/platform/heap/Heap.h#oldcode1222 Source/platform/heap/Heap.h:1222: #define EAGERLY_FINALIZE_WILL_BE_REMOVED() On 2015/06/09 13:58:51, sof wrote: > This ...
5 years, 6 months ago (2015-06-09 14:48:10 UTC) #6
Yuta Kitamura
Thanks, landing this now.
5 years, 6 months ago (2015-06-10 06:15:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1172603002/1
5 years, 6 months ago (2015-06-10 06:15:43 UTC) #9
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 07:29:48 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196842

Powered by Google App Engine
This is Rietveld 408576698