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

Issue 1166793002: Oilpan: add assert to verify eager finalization. (Closed)

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

Description

Oilpan: add assert to verify eager finalization. A class annotated with EAGERLY_FINALIZE() is dependent on having an 'operator new' overload that takes eagerness correctly into account. The use of a EAGERLY_FINALIZE() declaration does not guarantee this, so add an assert to catch classes not correctly handled. R=haraken BUG=491488 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196404

Patch Set 1 #

Total comments: 2

Patch Set 2 : introspectively determine eager heap residency #

Patch Set 3 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -1 line) Patch
M Source/platform/heap/Heap.h View 1 2 1 chunk +32 lines, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
sof
please take a look.
5 years, 6 months ago (2015-06-02 21:39:45 UTC) #2
haraken
Looks good with nit. https://codereview.chromium.org/1166793002/diff/1/Source/platform/heap/Heap.h File Source/platform/heap/Heap.h (right): https://codereview.chromium.org/1166793002/diff/1/Source/platform/heap/Heap.h#newcode1152 Source/platform/heap/Heap.h:1152: ASSERT(ThreadState::current()->isEagerlySweeping()); Instead of introducing isEagerlySweeping(), ...
5 years, 6 months ago (2015-06-03 03:52:35 UTC) #4
sof
https://codereview.chromium.org/1166793002/diff/1/Source/platform/heap/Heap.h File Source/platform/heap/Heap.h (right): https://codereview.chromium.org/1166793002/diff/1/Source/platform/heap/Heap.h#newcode1152 Source/platform/heap/Heap.h:1152: ASSERT(ThreadState::current()->isEagerlySweeping()); On 2015/06/03 03:52:35, haraken wrote: > > Instead ...
5 years, 6 months ago (2015-06-03 11:35:16 UTC) #5
haraken
LGTM
5 years, 6 months ago (2015-06-03 11:39:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1166793002/40001
5 years, 6 months ago (2015-06-03 11:52:36 UTC) #9
commit-bot: I haz the power
5 years, 6 months ago (2015-06-03 14:37:27 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196404

Powered by Google App Engine
This is Rietveld 408576698