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

Issue 307433003: Oilpan: Allocate all EventTarget derived types on the manged heap. (Closed)

Created:
6 years, 7 months ago by zerny-chromium
Modified:
6 years, 6 months ago
CC:
blink-reviews, shans, kouhei+svg_chromium.org, jsbell+idb_chromium.org, tzik, eae+blinkwatch, fs, eric.carlson_apple.com, nessy, apavlov+blink_chromium.org, kinuko+worker_chromium.org, Steve Block, rune+blink, timvolodine, krit, ericu+idb_chromium.org, Mads Ager (chromium), blink-reviews-dom_chromium.org, blink-reviews-css, blink-reviews-html_chromium.org, alecflett, Timothy Loh, dstockwell, dglazkov+blink, blink-reviews-events_chromium.org, gavinp+loader_chromium.org, pdr., rwlbuis, Eric Willigers, philipj_slow, rjwright, dgrogan, sof, nhiroki, Raymond Toy, feature-media-reviews_chromium.org, tommyw+watchlist_chromium.org, gyuyoung.kim_webkit.org, darktears, haraken, Nate Chapin, vcarbune.chromium, blink-reviews-animation_chromium.org, gasubic, falken, Mike Lawther (Google), ed+blinkwatch_opera.com, f(malita), cmumford, horo+watch_chromium.org, Stephen Chennney, kouhei+heap_chromium.org, kinuko+fileapi, oilpan-reviews
Visibility:
Public.

Description

Oilpan: Allocate all EventTarget derived types on the manged heap. This is the first step of three in moving over EventTarget. The next step is to update the IDL of EventTarget to be WillBeGarbageCollected, and then to replace all RefPtr uses. Once all Node RefPtr uses have also been replaced, we can remove the ref-count from Node. BUG=357163 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174973

Patch Set 1 #

Total comments: 9

Patch Set 2 : simplify macro #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -93 lines) Patch
M Source/core/animation/AnimationPlayer.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/animation/AnimationPlayer.cpp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/FontFaceSet.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/ElementRareData.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/ElementRareData.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/MessagePort.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/dom/MessagePort.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Node.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/dom/Node.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/events/EventTarget.h View 1 3 chunks +4 lines, -2 lines 0 comments Download
M Source/core/fileapi/FileReader.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/fileapi/FileReader.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/frame/DOMWindow.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/frame/DOMWindow.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/MediaController.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/html/MediaController.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/ime/InputMethodContext.h View 3 chunks +11 lines, -3 lines 0 comments Download
M Source/core/html/ime/InputMethodContext.cpp View 2 chunks +8 lines, -2 lines 0 comments Download
M Source/core/html/track/TextTrack.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/html/track/TextTrack.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/track/TextTrackCue.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/html/track/TextTrackCue.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/track/TextTrackList.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/html/track/TextTrackList.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/loader/appcache/ApplicationCache.h View 2 chunks +2 lines, -3 lines 0 comments Download
M Source/core/page/EventSource.h View 2 chunks +2 lines, -3 lines 0 comments Download
M Source/core/svg/SVGElementInstance.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGElementInstance.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/timing/Performance.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/timing/Performance.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/workers/AbstractWorker.h View 2 chunks +2 lines, -3 lines 0 comments Download
M Source/core/workers/WorkerGlobalScope.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/workers/WorkerGlobalScope.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.h View 3 chunks +4 lines, -3 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/xml/XMLHttpRequestUpload.h View 2 chunks +13 lines, -4 lines 0 comments Download
M Source/core/xml/XMLHttpRequestUpload.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/modules/battery/BatteryManager.h View 2 chunks +2 lines, -3 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeySession.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeySession.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/filesystem/FileWriter.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/modules/filesystem/FileWriter.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/indexeddb/IDBDatabase.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/indexeddb/IDBDatabase.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/indexeddb/IDBRequest.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/indexeddb/IDBRequest.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/indexeddb/IDBTransaction.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/indexeddb/IDBTransaction.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/mediasource/MediaSourceBase.h View 2 chunks +2 lines, -3 lines 0 comments Download
M Source/modules/mediasource/SourceBuffer.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/mediasource/SourceBuffer.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/mediasource/SourceBufferList.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/mediasource/SourceBufferList.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/mediastream/MediaStream.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/mediastream/MediaStream.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/mediastream/MediaStreamTrack.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/mediastream/MediaStreamTrack.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/mediastream/RTCDTMFSender.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/mediastream/RTCDTMFSender.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/mediastream/RTCDataChannel.h View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M Source/modules/mediastream/RTCDataChannel.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/mediastream/RTCPeerConnection.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/mediastream/RTCPeerConnection.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/notifications/Notification.h View 2 chunks +1 line, -3 lines 0 comments Download
M Source/modules/speech/SpeechRecognition.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/speech/SpeechRecognition.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/speech/SpeechSynthesis.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/speech/SpeechSynthesis.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/speech/SpeechSynthesisUtterance.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/speech/SpeechSynthesisUtterance.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/webaudio/AudioContext.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/modules/webaudio/AudioContext.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/webaudio/AudioNode.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/modules/webaudio/AudioNode.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/webmidi/MIDIAccess.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/webmidi/MIDIAccess.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/webmidi/MIDIPort.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/webmidi/MIDIPort.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/websockets/WebSocket.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/websockets/WebSocket.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/heap/Handle.h View 4 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
zerny-chromium
Sorry for the large'ish CL. Most changes are very simple. A few required replacing OwnPtr+back-ref ...
6 years, 7 months ago (2014-05-26 14:59:12 UTC) #1
haraken
Mostly looks good! https://codereview.chromium.org/307433003/diff/1/Source/core/events/EventTarget.h File Source/core/events/EventTarget.h (right): https://codereview.chromium.org/307433003/diff/1/Source/core/events/EventTarget.h#newcode232 Source/core/events/EventTarget.h:232: #endif Can we write this: #define ...
6 years, 7 months ago (2014-05-27 01:39:19 UTC) #2
zerny-chromium
Thanks for the review! https://codereview.chromium.org/307433003/diff/1/Source/core/events/EventTarget.h File Source/core/events/EventTarget.h (right): https://codereview.chromium.org/307433003/diff/1/Source/core/events/EventTarget.h#newcode232 Source/core/events/EventTarget.h:232: #endif On 2014/05/27 01:39:19, haraken ...
6 years, 7 months ago (2014-05-27 07:34:32 UTC) #3
haraken
LGTM. https://codereview.chromium.org/307433003/diff/1/Source/modules/mediastream/MediaStreamTrack.h File Source/modules/mediastream/MediaStreamTrack.h (right): https://codereview.chromium.org/307433003/diff/1/Source/modules/mediastream/MediaStreamTrack.h#newcode102 Source/modules/mediastream/MediaStreamTrack.h:102: Vector<Observer*> m_observers; On 2014/05/27 07:34:33, zerny-chromium wrote: > ...
6 years, 7 months ago (2014-05-27 07:56:25 UTC) #4
Mads Ager (chromium)
LGTM2
6 years, 7 months ago (2014-05-27 08:09:09 UTC) #5
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 7 months ago (2014-05-27 13:18:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/307433003/40001
6 years, 7 months ago (2014-05-27 13:18:34 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-27 14:40:33 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-27 15:31:17 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/9275)
6 years, 7 months ago (2014-05-27 15:31:18 UTC) #10
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 6 months ago (2014-05-28 09:13:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/307433003/60001
6 years, 6 months ago (2014-05-28 09:13:24 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-28 09:13:49 UTC) #13
commit-bot: I haz the power
Failed to apply patch for Source/core/animation/AnimationPlayer.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-05-28 09:13:50 UTC) #14
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 6 months ago (2014-05-28 09:23:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/307433003/80001
6 years, 6 months ago (2014-05-28 09:23:19 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-28 10:44:02 UTC) #17
commit-bot: I haz the power
Failed to apply patch for Source/core/animation/AnimationPlayer.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-05-28 10:44:03 UTC) #18
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 6 months ago (2014-05-28 12:36:01 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/307433003/100001
6 years, 6 months ago (2014-05-28 12:36:33 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-05-28 13:58:04 UTC) #21
commit-bot: I haz the power
6 years, 6 months ago (2014-05-28 14:46:48 UTC) #22
Message was sent while issue was closed.
Change committed as 174973

Powered by Google App Engine
This is Rietveld 408576698