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

Issue 1148383012: Oilpan: prefer eager finalization over prefinalizers. (Closed)

Created:
5 years, 6 months ago by sof
Modified:
5 years, 6 months ago
Reviewers:
oilpan-reviews, haraken
CC:
blink-reviews, michaeln, blink-reviews-dom_chromium.org, serviceworker-reviews, arv+blink, vivekg_samsung, sof, eae+blinkwatch, jsbell+serviceworker_chromium.org, nhiroki, falken, vivekg, dglazkov+blink, blink-reviews-bindings_chromium.org, horo+watch_chromium.org, kinuko+serviceworker, tzik, rwlbuis
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: prefer eager finalization over prefinalizers. Eagerly finalized objects have the ability to access other heap objects in their destructors, provided they're not other eagerly finalized objects. With that partial ordering on finalization in place, we can recast our current uses of "prefinalizer" actions to use eager finalization instead. Performing that switch simplifies, avoiding the overhead of prefinalizers of having to separately provide a finalization method (separate from the destructor.) R=haraken BUG=491488 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196483

Patch Set 1 #

Total comments: 8

Patch Set 2 : expand&improve comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -121 lines) Patch
M Source/bindings/core/v8/ScriptPromiseResolver.h View 1 3 chunks +10 lines, -18 lines 0 comments Download
M Source/bindings/core/v8/ScriptPromiseResolver.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/dom/MutationObserver.h View 1 3 chunks +2 lines, -3 lines 0 comments Download
M Source/core/dom/MutationObserver.cpp View 1 chunk +0 lines, -8 lines 0 comments Download
M Source/core/frame/LocalDOMWindow.h View 1 3 chunks +5 lines, -3 lines 0 comments Download
M Source/core/frame/LocalDOMWindow.cpp View 1 2 chunks +9 lines, -22 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorker.h View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorker.cpp View 1 chunk +0 lines, -21 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerRegistration.h View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerRegistration.cpp View 2 chunks +0 lines, -8 lines 0 comments Download
M Source/modules/webmidi/MIDIAccessInitializer.h View 2 chunks +4 lines, -1 line 0 comments Download
M Source/modules/webmidi/MIDIAccessInitializer.cpp View 2 chunks +0 lines, -14 lines 0 comments Download
M Source/platform/speech/PlatformSpeechSynthesizer.h View 1 2 chunks +9 lines, -2 lines 0 comments Download
M Source/platform/speech/PlatformSpeechSynthesizer.cpp View 1 chunk +0 lines, -12 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
sof
+oilpan-reviews: please take a look.
5 years, 6 months ago (2015-06-03 21:51:49 UTC) #2
haraken
LGTM https://codereview.chromium.org/1148383012/diff/1/Source/bindings/core/v8/ScriptPromiseResolver.h File Source/bindings/core/v8/ScriptPromiseResolver.h (right): https://codereview.chromium.org/1148383012/diff/1/Source/bindings/core/v8/ScriptPromiseResolver.h#newcode47 Source/bindings/core/v8/ScriptPromiseResolver.h:47: assertNotPending(); Now you can inline assertNotPending() here. https://codereview.chromium.org/1148383012/diff/1/Source/core/dom/MutationObserver.h ...
5 years, 6 months ago (2015-06-04 01:02:31 UTC) #4
sof
https://codereview.chromium.org/1148383012/diff/1/Source/core/dom/MutationObserver.h File Source/core/dom/MutationObserver.h (right): https://codereview.chromium.org/1148383012/diff/1/Source/core/dom/MutationObserver.h#newcode98 Source/core/dom/MutationObserver.h:98: EAGERLY_FINALIZE(); On 2015/06/04 01:02:31, haraken wrote: > > Add ...
5 years, 6 months ago (2015-06-04 07:54:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1148383012/20001
5 years, 6 months ago (2015-06-04 07:55:25 UTC) #8
commit-bot: I haz the power
5 years, 6 months ago (2015-06-04 08:53:46 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196483

Powered by Google App Engine
This is Rietveld 408576698