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

Issue 211373002: Oilpan: move DOMWindow object to the oilpan heap. (Closed)

Created:
6 years, 9 months ago by sof
Modified:
6 years, 9 months ago
CC:
blink-reviews, Nils Barth (inactive), rwlbuis, kojih, arv+blink, jsbell+bindings_chromium.org, eae+blinkwatch, kouhei+bindings_chromium.org, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, adamk+blink_chromium.org, haraken, Nate Chapin, watchdog-blink-watchlist_google.com, Inactive
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Oilpan: move DOMWindow object to the oilpan heap. Turn the global Window into a garbage collected object. R=haraken@chromium.org,ager@chromium.org,wibling@chromium.org,zerny@chromium.org BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170065

Patch Set 1 #

Total comments: 14

Patch Set 2 : Provide setNativeInfoForInnerGlobalObject() + explanatory comments. #

Patch Set 3 : setNativeInfoForInnerGlobalObject() -> setNativeInfoForHiddenWrapper() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -109 lines) Patch
M Source/bindings/v8/Dictionary.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/Dictionary.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/V8DOMWrapper.h View 1 2 2 chunks +17 lines, -0 lines 0 comments Download
M Source/bindings/v8/V8WindowShell.cpp View 1 2 3 chunks +11 lines, -3 lines 0 comments Download
M Source/bindings/v8/WrapperTypeInfo.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M Source/bindings/v8/custom/V8WindowCustom.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Document.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/events/CompositionEvent.h View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/events/CompositionEvent.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/events/FocusEvent.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/events/FocusEvent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/events/GestureEvent.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/events/GestureEvent.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/events/MouseEvent.h View 3 chunks +6 lines, -6 lines 0 comments Download
M Source/core/events/MouseEvent.cpp View 6 chunks +6 lines, -6 lines 0 comments Download
M Source/core/events/MouseRelatedEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/events/MouseRelatedEvent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/events/TextEvent.h View 2 chunks +7 lines, -7 lines 0 comments Download
M Source/core/events/TextEvent.cpp View 4 chunks +7 lines, -7 lines 0 comments Download
M Source/core/events/TouchEvent.h View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/events/TouchEvent.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/events/UIEvent.h View 4 chunks +5 lines, -5 lines 0 comments Download
M Source/core/events/UIEvent.cpp View 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/events/UIEventWithKeyState.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/events/WheelEvent.h View 4 chunks +6 lines, -6 lines 0 comments Download
M Source/core/events/WheelEvent.cpp View 4 chunks +5 lines, -5 lines 0 comments Download
M Source/core/events/WindowEventContext.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/frame/BarProp.h View 2 chunks +8 lines, -2 lines 0 comments Download
M Source/core/frame/BarProp.idl View 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/frame/DOMWindow.h View 4 chunks +24 lines, -19 lines 0 comments Download
M Source/core/frame/DOMWindow.cpp View 1 5 chunks +24 lines, -6 lines 0 comments Download
M Source/core/frame/Frame.h View 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/frame/Frame.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/LocalFrame.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/frame/LocalFrame.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/Window.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/testing/Internals.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/testing/Internals.cpp View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
sof
Please take a look. One test is coming through as occasionally flaky (fast/dom/inline-event-attributes-release -- it ...
6 years, 9 months ago (2014-03-25 16:29:37 UTC) #1
sof
On 2014/03/25 16:29:37, sof wrote: > Please take a look. > > One test is ...
6 years, 9 months ago (2014-03-25 19:03:18 UTC) #2
haraken
https://codereview.chromium.org/211373002/diff/1/Source/bindings/v8/V8DOMWrapper.h File Source/bindings/v8/V8DOMWrapper.h (right): https://codereview.chromium.org/211373002/diff/1/Source/bindings/v8/V8DOMWrapper.h#newcode75 Source/bindings/v8/V8DOMWrapper.h:75: inline void V8DOMWrapper::setNativeInfoGarbageCollected(v8::Handle<v8::Object> wrapper, const WrapperTypeInfo* type, void* object) ...
6 years, 9 months ago (2014-03-26 01:13:32 UTC) #3
sof
https://codereview.chromium.org/211373002/diff/1/Source/bindings/v8/V8DOMWrapper.h File Source/bindings/v8/V8DOMWrapper.h (right): https://codereview.chromium.org/211373002/diff/1/Source/bindings/v8/V8DOMWrapper.h#newcode75 Source/bindings/v8/V8DOMWrapper.h:75: inline void V8DOMWrapper::setNativeInfoGarbageCollected(v8::Handle<v8::Object> wrapper, const WrapperTypeInfo* type, void* object) ...
6 years, 9 months ago (2014-03-26 06:36:46 UTC) #4
Mads Ager (chromium)
LGTM if we make the setNativeInfoGarbageCollected more obscure so it doesn't look like the right ...
6 years, 9 months ago (2014-03-26 07:29:43 UTC) #5
sof
https://codereview.chromium.org/211373002/diff/1/Source/core/frame/DOMWindow.h File Source/core/frame/DOMWindow.h (right): https://codereview.chromium.org/211373002/diff/1/Source/core/frame/DOMWindow.h#newcode94 Source/core/frame/DOMWindow.h:94: class DOMWindow FINAL : public RefCountedWillBeRefCountedGarbageCollected<DOMWindow>, public ScriptWrappable, public ...
6 years, 9 months ago (2014-03-26 07:44:26 UTC) #6
haraken
https://codereview.chromium.org/211373002/diff/1/Source/bindings/v8/V8DOMWrapper.h File Source/bindings/v8/V8DOMWrapper.h (right): https://codereview.chromium.org/211373002/diff/1/Source/bindings/v8/V8DOMWrapper.h#newcode75 Source/bindings/v8/V8DOMWrapper.h:75: inline void V8DOMWrapper::setNativeInfoGarbageCollected(v8::Handle<v8::Object> wrapper, const WrapperTypeInfo* type, void* object) ...
6 years, 9 months ago (2014-03-26 08:07:16 UTC) #7
haraken
Double-scanned. LGTM. https://codereview.chromium.org/211373002/diff/1/Source/bindings/v8/V8DOMWrapper.h File Source/bindings/v8/V8DOMWrapper.h (right): https://codereview.chromium.org/211373002/diff/1/Source/bindings/v8/V8DOMWrapper.h#newcode54 Source/bindings/v8/V8DOMWrapper.h:54: static inline void setNativeInfo(v8::Handle<v8::Object>, const WrapperTypeInfo*, void*); ...
6 years, 9 months ago (2014-03-26 08:16:10 UTC) #8
wibling-chromium
lgtm
6 years, 9 months ago (2014-03-26 08:38:19 UTC) #9
zerny-chromium
lgtm
6 years, 9 months ago (2014-03-26 09:46:24 UTC) #10
sof
Thanks everyone for the careful reviewing. https://codereview.chromium.org/211373002/diff/1/Source/bindings/v8/V8DOMWrapper.h File Source/bindings/v8/V8DOMWrapper.h (right): https://codereview.chromium.org/211373002/diff/1/Source/bindings/v8/V8DOMWrapper.h#newcode75 Source/bindings/v8/V8DOMWrapper.h:75: inline void V8DOMWrapper::setNativeInfoGarbageCollected(v8::Handle<v8::Object> ...
6 years, 9 months ago (2014-03-26 10:42:03 UTC) #11
sof
https://codereview.chromium.org/211373002/diff/1/Source/core/frame/DOMWindow.cpp File Source/core/frame/DOMWindow.cpp (right): https://codereview.chromium.org/211373002/diff/1/Source/core/frame/DOMWindow.cpp#newcode117 Source/core/frame/DOMWindow.cpp:117: , m_window(&window) On 2014/03/26 07:29:43, Mads Ager (chromium) wrote: ...
6 years, 9 months ago (2014-03-26 11:51:17 UTC) #12
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 9 months ago (2014-03-26 15:09:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/211373002/260001
6 years, 9 months ago (2014-03-26 15:09:06 UTC) #14
commit-bot: I haz the power
6 years, 9 months ago (2014-03-26 15:19:15 UTC) #15
Message was sent while issue was closed.
Change committed as 170065

Powered by Google App Engine
This is Rietveld 408576698