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

Issue 255983003: Oilpan: Move all supplements of Page, Document, and WorkerClients to the managed heap. (Closed)

Created:
6 years, 7 months ago by zerny-chromium
Modified:
6 years, 7 months ago
CC:
blink-reviews, tzik, webcomponents-bugzilla_chromium.org, eae+blinkwatch, eric.carlson_apple.com, apavlov+blink_chromium.org, adamk+blink_chromium.org, kinuko+watch, ojan, jsbell+serviceworker_chromium.org, rwlbuis, blink-reviews-dom_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, rune+blink, philipj_slow, Mads Ager (chromium), sof, timvolodine, kinuko, feature-media-reviews_chromium.org, tommyw+watchlist_chromium.org, nhiroki, darktears, Nate Chapin, alecflett+watch_chromium.org, gavinp+prerender_chromium.org, serviceworker-reviews, falken, mvanouwerkerk+watch_chromium.org, ed+blinkwatch_opera.com, Inactive, horo+watch_chromium.org, kouhei+heap_chromium.org, gyuyoung.kim_webkit.org, oilpan-reviews
Visibility:
Public.

Description

Oilpan: Move all supplements of Page, Document, and WorkerClients to the managed heap. R=ager@chromium.org BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172990

Patch Set 1 #

Patch Set 2 : non-oilpan build #

Total comments: 8

Patch Set 3 : review comments #

Total comments: 39

Patch Set 4 : review comments #

Total comments: 16

Patch Set 5 : type err in dbg #

Patch Set 6 : rebase #

Patch Set 7 : using namespace WebCore #

Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -248 lines) Patch
M Source/core/css/FontFaceSet.h View 2 chunks +10 lines, -5 lines 0 comments Download
M Source/core/dom/CSSSelectorWatch.h View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download
M Source/core/dom/CSSSelectorWatch.cpp View 2 chunks +6 lines, -1 line 0 comments Download
M Source/core/dom/ContextFeatures.h View 1 4 chunks +15 lines, -3 lines 0 comments Download
M Source/core/dom/ContextFeatures.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 2 3 4 5 2 chunks +1 line, -8 lines 0 comments Download
M Source/core/dom/DocumentSupplementable.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/EventHandlerRegistry.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/dom/EventHandlerRegistry.cpp View 1 2 3 2 chunks +11 lines, -1 line 0 comments Download
M Source/core/dom/FullscreenElementStack.h View 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/dom/FullscreenElementStack.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/WheelController.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/WheelController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/imports/HTMLImportsController.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/html/imports/HTMLImportsController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/TextControlInnerElements.h View 1 2 3 chunks +4 lines, -1 line 0 comments Download
M Source/core/html/shadow/TextControlInnerElements.cpp View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/loader/PrerendererClient.h View 1 chunk +1 line, -3 lines 0 comments Download
M Source/core/loader/PrerendererClient.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/page/Page.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/page/Page.cpp View 2 chunks +2 lines, -12 lines 0 comments Download
M Source/core/speech/SpeechInput.h View 2 chunks +7 lines, -12 lines 0 comments Download
M Source/core/speech/SpeechInput.cpp View 1 2 3 4 3 chunks +11 lines, -6 lines 0 comments Download
M Source/core/speech/SpeechInputListener.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/testing/InternalSettings.h View 1 2 3 4 chunks +11 lines, -3 lines 0 comments Download
M Source/core/testing/InternalSettings.cpp View 1 2 3 3 chunks +21 lines, -6 lines 0 comments Download
M Source/core/workers/WorkerClients.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/workers/WorkerGlobalScopeProxyProvider.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/workers/WorkerGlobalScopeProxyProvider.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/xml/DocumentXPathEvaluator.h View 1 2 3 4 5 2 chunks +3 lines, -5 lines 0 comments Download
M Source/core/xml/DocumentXPathEvaluator.cpp View 2 chunks +6 lines, -5 lines 0 comments Download
M Source/modules/device_orientation/DeviceMotionController.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/device_orientation/DeviceMotionController.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/device_orientation/DeviceOrientationController.h View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M Source/modules/device_orientation/DeviceOrientationController.cpp View 1 2 3 4 2 chunks +6 lines, -1 line 0 comments Download
M Source/modules/encryptedmedia/MediaKeysController.h View 1 chunk +3 lines, -4 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeysController.cpp View 2 chunks +1 line, -5 lines 0 comments Download
M Source/modules/filesystem/LocalFileSystem.h View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/modules/filesystem/LocalFileSystem.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/modules/geolocation/GeolocationController.h View 3 chunks +7 lines, -6 lines 0 comments Download
M Source/modules/geolocation/GeolocationController.cpp View 2 chunks +10 lines, -3 lines 0 comments Download
M Source/modules/navigatorcontentutils/NavigatorContentUtils.h View 3 chunks +5 lines, -3 lines 0 comments Download
M Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/modules/push_messaging/PushController.h View 1 chunk +4 lines, -5 lines 0 comments Download
M Source/modules/push_messaging/PushController.cpp View 1 chunk +2 lines, -6 lines 0 comments Download
M Source/modules/quota/StorageQuotaClient.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/modules/quota/StorageQuotaClient.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/screen_orientation/ScreenOrientationController.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/modules/screen_orientation/ScreenOrientationController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerContainerClient.h View 1 chunk +4 lines, -2 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/speech/SpeechRecognitionController.h View 2 chunks +4 lines, -3 lines 0 comments Download
M Source/modules/speech/SpeechRecognitionController.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/vibration/NavigatorVibration.h View 1 chunk +3 lines, -1 line 0 comments Download
M Source/modules/vibration/NavigatorVibration.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/webdatabase/DatabaseClient.h View 2 chunks +4 lines, -3 lines 0 comments Download
M Source/modules/webdatabase/DatabaseClient.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/modules/webmidi/MIDIController.h View 1 chunk +4 lines, -3 lines 0 comments Download
M Source/modules/webmidi/MIDIController.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/platform/RefCountedSupplement.h View 2 chunks +2 lines, -34 lines 0 comments Download
M Source/platform/heap/Handle.h View 1 2 3 4 5 2 chunks +0 lines, -2 lines 0 comments Download
M Source/platform/heap/Visitor.h View 1 2 3 4 2 chunks +7 lines, -3 lines 0 comments Download
M Source/web/ContextFeaturesClientImpl.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/web/DatabaseClientImpl.h View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/web/DatabaseClientImpl.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/web/PrerendererClientImpl.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/web/ServiceWorkerGlobalScopeClientImpl.h View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/web/ServiceWorkerGlobalScopeClientImpl.cpp View 1 2 3 4 5 6 2 chunks +5 lines, -3 lines 0 comments Download
M Source/web/StorageQuotaClientImpl.h View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/web/StorageQuotaClientImpl.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/web/WorkerGlobalScopeProxyProviderImpl.h View 1 chunk +4 lines, -3 lines 0 comments Download
M Source/web/WorkerPermissionClient.h View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/web/WorkerPermissionClient.cpp View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
zerny-chromium
This moves document supplements and by transitive cases, page and worker client supplements. It also ...
6 years, 7 months ago (2014-04-29 11:56:31 UTC) #1
sof
I didn't go over the SpeechInput changes in detail, but the supplement(able) changes look regular&fine ...
6 years, 7 months ago (2014-04-29 13:40:20 UTC) #2
tkent
lgtm except Source/platform/heap/Visitor.h. I don't understand the Visitor.h change well.
6 years, 7 months ago (2014-04-29 14:26:14 UTC) #3
Mads Ager (chromium)
LGTM! https://codereview.chromium.org/255983003/diff/20001/Source/core/dom/EventHandlerRegistry.h File Source/core/dom/EventHandlerRegistry.h (right): https://codereview.chromium.org/255983003/diff/20001/Source/core/dom/EventHandlerRegistry.h#newcode19 Source/core/dom/EventHandlerRegistry.h:19: class EventHandlerRegistry FINAL : public NoBaseWillBeGarbageCollectedFinalized<EventHandlerRegistry>, public DocumentSupplement ...
6 years, 7 months ago (2014-04-29 14:56:08 UTC) #4
zerny-chromium
Thanks for the reviews. tkent: the WebCore prefix is needed because the web/ files are ...
6 years, 7 months ago (2014-04-29 15:10:35 UTC) #5
Mads Ager (chromium)
LGTM, thanks for moving the EventHandlerRegistry weak processing to the right place as well. :)
6 years, 7 months ago (2014-04-29 16:04:53 UTC) #6
haraken
This CL contains multiple changes. I'm OK with this CL but let's consider splitting this ...
6 years, 7 months ago (2014-04-30 02:41:21 UTC) #7
zerny-chromium
Thanks for the review Haraken. I agree that it would be nice to keep CLs ...
6 years, 7 months ago (2014-04-30 08:29:33 UTC) #8
haraken
Thanks for the update. This is the final round of comments. https://codereview.chromium.org/255983003/diff/40001/Source/core/dom/ContextFeatures.h File Source/core/dom/ContextFeatures.h (right): ...
6 years, 7 months ago (2014-04-30 11:18:07 UTC) #9
haraken
https://codereview.chromium.org/255983003/diff/40001/Source/modules/geolocation/GeolocationController.h File Source/modules/geolocation/GeolocationController.h (right): https://codereview.chromium.org/255983003/diff/40001/Source/modules/geolocation/GeolocationController.h#newcode84 Source/modules/geolocation/GeolocationController.h:84: GeolocationClient* m_client; On 2014/04/30 11:18:08, haraken wrote: > On ...
6 years, 7 months ago (2014-04-30 11:19:57 UTC) #10
zerny-chromium
Thanks for your careful eye Haraken. I'll have a look at the remaining client pointers, ...
6 years, 7 months ago (2014-04-30 11:46:52 UTC) #11
haraken
LGTM. https://codereview.chromium.org/255983003/diff/40001/Source/modules/geolocation/GeolocationController.h File Source/modules/geolocation/GeolocationController.h (right): https://codereview.chromium.org/255983003/diff/40001/Source/modules/geolocation/GeolocationController.h#newcode84 Source/modules/geolocation/GeolocationController.h:84: GeolocationClient* m_client; On 2014/04/30 11:46:53, zerny-chromium wrote: > ...
6 years, 7 months ago (2014-04-30 12:02:07 UTC) #12
zerny-chromium
https://codereview.chromium.org/255983003/diff/40001/Source/modules/encryptedmedia/MediaKeysController.h File Source/modules/encryptedmedia/MediaKeysController.h (right): https://codereview.chromium.org/255983003/diff/40001/Source/modules/encryptedmedia/MediaKeysController.h#newcode33 Source/modules/encryptedmedia/MediaKeysController.h:33: MediaKeysClient* m_client; On 2014/04/30 02:41:22, haraken wrote: > > ...
6 years, 7 months ago (2014-04-30 12:11:25 UTC) #13
zerny-chromium
> > In general, a HeapSupplement can outlive the object it is a supplement to. ...
6 years, 7 months ago (2014-04-30 12:23:22 UTC) #14
haraken
On 2014/04/30 12:23:22, zerny-chromium wrote: > > > In general, a HeapSupplement can outlive the ...
6 years, 7 months ago (2014-04-30 12:29:52 UTC) #15
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 7 months ago (2014-04-30 12:38:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/255983003/100001
6 years, 7 months ago (2014-04-30 12:38:20 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 13:42:54 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_compile_dbg on tryserver.blink
6 years, 7 months ago (2014-04-30 13:42:55 UTC) #19
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 7 months ago (2014-04-30 14:10:08 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/255983003/120001
6 years, 7 months ago (2014-04-30 14:10:30 UTC) #21
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 15:14:56 UTC) #22
Message was sent while issue was closed.
Change committed as 172990

Powered by Google App Engine
This is Rietveld 408576698