Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(239)

Issue 1149983007: Oilpan: Build fix after r196496 (Closed)

Created:
4 years, 10 months ago by haraken
Modified:
4 years, 10 months ago
Reviewers:
oilpan-reviews, sof
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, nhiroki, falken, kinuko+serviceworker, horo+watch_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: Build fix after r196496 This CL fixes a compile error when we enable ENABLE_LAZY_SWEEPING on non-oilpan builds. TBR=sigbjornf@opera.com Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196641

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M Source/modules/serviceworkers/ServiceWorker.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
haraken
Committed patchset #1 (id:1) manually as 196641 (presubmit successful).
4 years, 10 months ago (2015-06-08 01:12:00 UTC) #1
haraken
4 years, 10 months ago (2015-06-08 01:12:46 UTC) #3
sof
lgtm, but i think we should make DEALRE_EAGER_FINALIZATION_OPERATOR_NEW() expand to empty for ENABLE(LAZY_SWEEPING) && !ENABLE(OILPAN) ...
4 years, 10 months ago (2015-06-08 06:27:59 UTC) #4
haraken
On 2015/06/08 06:27:59, sof wrote: > lgtm, but i think we should make DEALRE_EAGER_FINALIZATION_OPERATOR_NEW() expand ...
4 years, 10 months ago (2015-06-08 06:31:44 UTC) #5
haraken
On 2015/06/08 06:31:44, haraken wrote: > On 2015/06/08 06:27:59, sof wrote: > > lgtm, but ...
4 years, 10 months ago (2015-06-08 06:35:25 UTC) #6
sof
4 years, 10 months ago (2015-06-08 06:42:32 UTC) #7
Message was sent while issue was closed.
On 2015/06/08 06:35:25, haraken wrote:
> On 2015/06/08 06:31:44, haraken wrote:
> > On 2015/06/08 06:27:59, sof wrote:
> > > lgtm, but i think we should make DEALRE_EAGER_FINALIZATION_OPERATOR_NEW()
> > expand
> > > to empty for ENABLE(LAZY_SWEEPING) && !ENABLE(OILPAN) in Heap.h, so we
don't
> > > need to adjust downstream uses.
> > 
> > Ah, that makes more sense. Will upload a fix.
> 
> Hmm, it might not make sense, because:
> 
> class A : public RefCountedWillBeGarabageCollected<A> {
>   DECLARE_EAGER_FINALIZATION_OPERATOR_NEW();  // This should be empty when
> !ENABLE(OILPAN).
> };
> 
> class B : public GarabageCollected<B> {
>   DECLARE_EAGER_FINALIZATION_OPERATOR_NEW();  // This should not be empty when
> !ENABLE(OILPAN).
> };
> 
> So I think ENABLE(OILPAN) needs to be annotated in the class itself (not in
> Heap.h).

We need to reign in the combinations & complexity asap.. quite right, eager
sweeping/finalization is enabled with ENABLE(LAZY_SWEEPING), not dependent on
OILPAN.

So, yes, the way it is done in this CL is the one that will work.

Powered by Google App Engine
This is Rietveld 408576698