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

Issue 178663004: Oilpan: move WorkerGlobalScope to oilpan's heap. (Closed)

Created:
6 years, 10 months ago by sof
Modified:
6 years, 9 months ago
CC:
blink-reviews, Nils Barth (inactive), kojih, arv+blink, jsbell+bindings_chromium.org, gavinp+loader_chromium.org, marja+watch_chromium.org, adamk+blink_chromium.org, kinuko+watch, Nate Chapin, watchdog-blink-watchlist_google.com, Inactive, tkent
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Oilpan: move WorkerGlobalScope to oilpan's heap. This moves the WorkerGlobalScope object and the objects derived from it to the Oilpan heap. This also includes the Console, Location and Navigator interface objects that are attached to the worker global scope. R=haraken@chromium.org,ager@chromium.org,abarth@chromium.org BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168830

Patch Set 1 #

Total comments: 14

Patch Set 2 : Rebased, WorkerGlobalScope detach + GCable Supplement{able}s #

Patch Set 3 : clang compile fix #

Total comments: 2

Patch Set 4 : Let WorkerThread hold a global scope persistent. #

Total comments: 8

Patch Set 5 : Remove dead code #

Total comments: 7

Patch Set 6 : Make heap supplements actually be heap allocated #

Total comments: 12

Patch Set 7 : Allocate WorkerNavigatorStorageQuota on the heap also #

Patch Set 8 : Remove redundant include #

Total comments: 18

Patch Set 9 : Rebased + HeapSupplements now inherit from GarbageCollectedMixin #

Patch Set 10 : Another rebase #

Patch Set 11 : Use transition macro WILL_BE_USING_GARBAGE_COLLECTED_MIXIN #

Total comments: 4

Patch Set 12 : Rebased #

Total comments: 1

Patch Set 13 : Rebase #

Total comments: 9

Patch Set 14 : Rebased #

Patch Set 15 : For non-Oilpan, restore WorkerGlobalScope shutdown sequence. #

Patch Set 16 : Rebased (handle modules/notifications/ removal) #

Total comments: 1

Patch Set 17 : Rebased #

Total comments: 2

Patch Set 18 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+385 lines, -162 lines) Patch
A LayoutTests/fast/workers/worker-supplement-gc.html View 1 2 3 4 5 6 7 8 1 chunk +38 lines, -0 lines 0 comments Download
A + LayoutTests/fast/workers/worker-supplement-gc-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -2 lines 0 comments Download
M Source/bindings/v8/WorkerScriptController.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/WorkerThreadableLoader.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/workers/DedicatedWorkerGlobalScope.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +4 lines, -1 line 0 comments Download
M Source/core/workers/DedicatedWorkerGlobalScope.cpp View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -2 lines 0 comments Download
M Source/core/workers/DedicatedWorkerGlobalScope.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/DedicatedWorkerThread.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/DedicatedWorkerThread.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/SharedWorkerGlobalScope.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +4 lines, -1 line 0 comments Download
M Source/core/workers/SharedWorkerGlobalScope.cpp View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -2 lines 0 comments Download
M Source/core/workers/SharedWorkerThread.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/SharedWorkerThread.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/WorkerConsole.h View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -5 lines 0 comments Download
M Source/core/workers/WorkerConsole.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/workers/WorkerConsole.idl View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/workers/WorkerGlobalScope.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +10 lines, -6 lines 0 comments Download
M Source/core/workers/WorkerGlobalScope.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +29 lines, -6 lines 0 comments Download
M Source/core/workers/WorkerGlobalScope.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/workers/WorkerLocation.h View 1 3 chunks +6 lines, -3 lines 0 comments Download
M Source/core/workers/WorkerLocation.idl View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/workers/WorkerNavigator.h View 1 2 3 4 5 6 2 chunks +8 lines, -2 lines 0 comments Download
M Source/core/workers/WorkerNavigator.cpp View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/workers/WorkerNavigator.idl View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/workers/WorkerSupplementable.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -42 lines 0 comments Download
M Source/core/workers/WorkerThread.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/workers/WorkerThread.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +6 lines, -4 lines 0 comments Download
M Source/heap/Handle.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 2 chunks +4 lines, -0 lines 0 comments Download
M Source/heap/Heap.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +7 lines, -0 lines 0 comments Download
M Source/modules/crypto/WorkerGlobalScopeCrypto.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +11 lines, -6 lines 0 comments Download
M Source/modules/crypto/WorkerGlobalScopeCrypto.cpp View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -4 lines 0 comments Download
M Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/imagebitmap/ImageBitmapFactories.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +18 lines, -5 lines 0 comments Download
M Source/modules/imagebitmap/ImageBitmapFactories.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +18 lines, -5 lines 0 comments Download
M Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -4 lines 0 comments Download
M Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +8 lines, -4 lines 0 comments Download
M Source/modules/notifications/WorkerGlobalScopeNotifications.h View 1 2 3 4 5 6 7 8 9 10 16 2 chunks +8 lines, -5 lines 0 comments Download
M Source/modules/notifications/WorkerGlobalScopeNotifications.cpp View 1 2 3 4 5 6 7 8 16 3 chunks +11 lines, -5 lines 0 comments Download
M Source/modules/performance/WorkerGlobalScopePerformance.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -3 lines 0 comments Download
M Source/modules/performance/WorkerGlobalScopePerformance.cpp View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -2 lines 0 comments Download
M Source/modules/quota/WorkerNavigatorStorageQuota.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -3 lines 0 comments Download
M Source/modules/quota/WorkerNavigatorStorageQuota.cpp View 1 2 chunks +8 lines, -2 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerGlobalScope.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +4 lines, -1 line 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -2 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerThread.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerThread.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/websockets/WorkerThreadableWebSocketChannel.h View 5 chunks +5 lines, -4 lines 0 comments Download
M Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/RefCountedSupplement.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/Supplementable.h View 1 2 3 4 5 6 7 8 4 chunks +73 lines, -13 lines 0 comments Download

Messages

Total messages: 111 (0 generated)
sof
Please take a look. Splitting out *WorkerGlobalScope (+ its Console, Location, Navigator sub-objects) from https://codereview.chromium.org/177073004/
6 years, 10 months ago (2014-02-24 22:43:07 UTC) #1
sof
https://codereview.chromium.org/178663004/diff/1/Source/core/workers/WorkerGlobalScope.h File Source/core/workers/WorkerGlobalScope.h (right): https://codereview.chromium.org/178663004/diff/1/Source/core/workers/WorkerGlobalScope.h#newcode60 Source/core/workers/WorkerGlobalScope.h:60: class WorkerGlobalScope : public RefCountedWillBeRefCountedGarbageCollected<WorkerGlobalScope>, public ScriptWrappable, public SecurityContext, ...
6 years, 10 months ago (2014-02-24 22:46:24 UTC) #2
haraken
Looks good except for WorkerGlobalScope::m_thread. Probably you'll need to move WorkerThread at the same time. ...
6 years, 10 months ago (2014-02-25 01:30:49 UTC) #3
Mads Ager (chromium)
DBC https://codereview.chromium.org/178663004/diff/1/Source/bindings/v8/WorkerScriptController.cpp File Source/bindings/v8/WorkerScriptController.cpp (right): https://codereview.chromium.org/178663004/diff/1/Source/bindings/v8/WorkerScriptController.cpp#newcode164 Source/bindings/v8/WorkerScriptController.cpp:164: V8DOMWrapper::associateObjectWithWrapper<V8WorkerGlobalScope>(PassRefPtrWillBeRawPtr<WorkerGlobalScope>(&m_workerGlobalScope), contextType, jsWorkerGlobalScope, isolate(), WrapperConfiguration::Dependent); On 2014/02/25 01:30:49, ...
6 years, 10 months ago (2014-02-25 07:34:18 UTC) #4
haraken
https://codereview.chromium.org/178663004/diff/1/Source/bindings/v8/WorkerScriptController.cpp File Source/bindings/v8/WorkerScriptController.cpp (right): https://codereview.chromium.org/178663004/diff/1/Source/bindings/v8/WorkerScriptController.cpp#newcode164 Source/bindings/v8/WorkerScriptController.cpp:164: V8DOMWrapper::associateObjectWithWrapper<V8WorkerGlobalScope>(PassRefPtrWillBeRawPtr<WorkerGlobalScope>(&m_workerGlobalScope), contextType, jsWorkerGlobalScope, isolate(), WrapperConfiguration::Dependent); On 2014/02/25 07:34:18, Mads ...
6 years, 10 months ago (2014-02-25 07:43:02 UTC) #5
sof
https://codereview.chromium.org/178663004/diff/1/Source/core/workers/WorkerGlobalScope.h File Source/core/workers/WorkerGlobalScope.h (right): https://codereview.chromium.org/178663004/diff/1/Source/core/workers/WorkerGlobalScope.h#newcode157 Source/core/workers/WorkerGlobalScope.h:157: WorkerThread* m_thread; On 2014/02/25 01:30:49, haraken wrote: > > ...
6 years, 10 months ago (2014-02-25 07:46:44 UTC) #6
sof
https://codereview.chromium.org/178663004/diff/1/Source/core/workers/WorkerGlobalScope.h File Source/core/workers/WorkerGlobalScope.h (right): https://codereview.chromium.org/178663004/diff/1/Source/core/workers/WorkerGlobalScope.h#newcode60 Source/core/workers/WorkerGlobalScope.h:60: class WorkerGlobalScope : public RefCountedWillBeRefCountedGarbageCollected<WorkerGlobalScope>, public ScriptWrappable, public SecurityContext, ...
6 years, 10 months ago (2014-02-25 08:56:35 UTC) #7
Vyacheslav Egorov (Chromium)
https://codereview.chromium.org/178663004/diff/1/Source/core/workers/WorkerGlobalScope.h File Source/core/workers/WorkerGlobalScope.h (right): https://codereview.chromium.org/178663004/diff/1/Source/core/workers/WorkerGlobalScope.h#newcode157 Source/core/workers/WorkerGlobalScope.h:157: WorkerThread* m_thread; WorkerGlobalScope can't outlive the thread because it ...
6 years, 10 months ago (2014-02-25 10:41:26 UTC) #8
haraken
https://codereview.chromium.org/178663004/diff/1/Source/core/workers/WorkerGlobalScope.h File Source/core/workers/WorkerGlobalScope.h (right): https://codereview.chromium.org/178663004/diff/1/Source/core/workers/WorkerGlobalScope.h#newcode60 Source/core/workers/WorkerGlobalScope.h:60: class WorkerGlobalScope : public RefCountedWillBeRefCountedGarbageCollected<WorkerGlobalScope>, public ScriptWrappable, public SecurityContext, ...
6 years, 10 months ago (2014-02-25 11:16:28 UTC) #9
haraken
Also you might want to remove all RefPtr<WorkerGlobalScope> from the code base in this CL. ...
6 years, 10 months ago (2014-02-25 11:20:47 UTC) #10
sof
https://codereview.chromium.org/178663004/diff/1/Source/core/workers/WorkerGlobalScope.h File Source/core/workers/WorkerGlobalScope.h (right): https://codereview.chromium.org/178663004/diff/1/Source/core/workers/WorkerGlobalScope.h#newcode60 Source/core/workers/WorkerGlobalScope.h:60: class WorkerGlobalScope : public RefCountedWillBeRefCountedGarbageCollected<WorkerGlobalScope>, public ScriptWrappable, public SecurityContext, ...
6 years, 10 months ago (2014-02-25 11:38:01 UTC) #11
haraken
> > - However, this is a fragile solution. Once we have a Persistent handle ...
6 years, 10 months ago (2014-02-25 11:54:57 UTC) #12
sof
On 2014/02/25 11:54:57, haraken wrote: > > > - However, this is a fragile solution. ...
6 years, 10 months ago (2014-02-25 12:25:26 UTC) #13
haraken
> Yes, that would be a cleaner arrangement. I've moved all code out > of ...
6 years, 10 months ago (2014-02-25 12:29:54 UTC) #14
sof
Supplementables can now optionally live on the heap. Ideally, that should be inferrable only by ...
6 years, 10 months ago (2014-02-25 21:56:43 UTC) #15
haraken
https://codereview.chromium.org/178663004/diff/40001/Source/core/workers/WorkerThread.cpp File Source/core/workers/WorkerThread.cpp (right): https://codereview.chromium.org/178663004/diff/40001/Source/core/workers/WorkerThread.cpp#newcode145 Source/core/workers/WorkerThread.cpp:145: m_workerGlobalScope = nullptr; Shall we change m_workerGlobalScope to RefPtrWillBePersistent? ...
6 years, 10 months ago (2014-02-26 02:39:33 UTC) #16
sof
https://codereview.chromium.org/178663004/diff/40001/Source/core/workers/WorkerThread.cpp File Source/core/workers/WorkerThread.cpp (right): https://codereview.chromium.org/178663004/diff/40001/Source/core/workers/WorkerThread.cpp#newcode145 Source/core/workers/WorkerThread.cpp:145: m_workerGlobalScope = nullptr; On 2014/02/26 02:39:34, haraken wrote: > ...
6 years, 10 months ago (2014-02-26 06:29:40 UTC) #17
Mads Ager (chromium)
https://codereview.chromium.org/178663004/diff/60001/Source/modules/performance/WorkerGlobalScopePerformance.cpp File Source/modules/performance/WorkerGlobalScopePerformance.cpp (right): https://codereview.chromium.org/178663004/diff/60001/Source/modules/performance/WorkerGlobalScopePerformance.cpp#newcode41 Source/modules/performance/WorkerGlobalScopePerformance.cpp:41: #if 0 Remove the code. :) https://codereview.chromium.org/178663004/diff/60001/Source/platform/Supplementable.h File Source/platform/Supplementable.h ...
6 years, 10 months ago (2014-02-26 08:00:36 UTC) #18
sof
https://codereview.chromium.org/178663004/diff/60001/Source/modules/performance/WorkerGlobalScopePerformance.cpp File Source/modules/performance/WorkerGlobalScopePerformance.cpp (right): https://codereview.chromium.org/178663004/diff/60001/Source/modules/performance/WorkerGlobalScopePerformance.cpp#newcode41 Source/modules/performance/WorkerGlobalScopePerformance.cpp:41: #if 0 On 2014/02/26 08:00:36, Mads Ager (chromium) wrote: ...
6 years, 10 months ago (2014-02-26 09:11:20 UTC) #19
Mads Ager (chromium)
https://codereview.chromium.org/178663004/diff/80001/Source/core/workers/WorkerGlobalScope.cpp File Source/core/workers/WorkerGlobalScope.cpp (right): https://codereview.chromium.org/178663004/diff/80001/Source/core/workers/WorkerGlobalScope.cpp#newcode187 Source/core/workers/WorkerGlobalScope.cpp:187: void WorkerGlobalScope::detach() I really like this restructuring, thanks! :) ...
6 years, 10 months ago (2014-02-26 10:22:39 UTC) #20
sof
Great feedback, thank you. https://codereview.chromium.org/178663004/diff/80001/Source/core/workers/WorkerGlobalScope.cpp File Source/core/workers/WorkerGlobalScope.cpp (right): https://codereview.chromium.org/178663004/diff/80001/Source/core/workers/WorkerGlobalScope.cpp#newcode291 Source/core/workers/WorkerGlobalScope.cpp:291: void WorkerGlobalScope::trace(Visitor* visitor) On 2014/02/26 ...
6 years, 10 months ago (2014-02-26 12:25:12 UTC) #21
sof
https://codereview.chromium.org/178663004/diff/100001/Source/modules/notifications/WorkerGlobalScopeNotifications.h File Source/modules/notifications/WorkerGlobalScopeNotifications.h (right): https://codereview.chromium.org/178663004/diff/100001/Source/modules/notifications/WorkerGlobalScopeNotifications.h#newcode56 Source/modules/notifications/WorkerGlobalScopeNotifications.h:56: RawPtrWillBeMember<WorkerGlobalScope> m_context; Note: changed this to be a raw-ptr/member ...
6 years, 10 months ago (2014-02-26 12:26:04 UTC) #22
Mads Ager (chromium)
https://codereview.chromium.org/178663004/diff/100001/Source/modules/crypto/WorkerGlobalScopeCrypto.h File Source/modules/crypto/WorkerGlobalScopeCrypto.h (right): https://codereview.chromium.org/178663004/diff/100001/Source/modules/crypto/WorkerGlobalScopeCrypto.h#newcode43 Source/modules/crypto/WorkerGlobalScopeCrypto.h:43: class WorkerGlobalScopeCrypto FINAL : public NoBaseWillBeGarbageCollectedFinalized<WorkerGlobalScopeCrypto>, public WorkerSupplement { ...
6 years, 10 months ago (2014-02-26 13:09:08 UTC) #23
sof
https://codereview.chromium.org/178663004/diff/100001/Source/modules/crypto/WorkerGlobalScopeCrypto.h File Source/modules/crypto/WorkerGlobalScopeCrypto.h (right): https://codereview.chromium.org/178663004/diff/100001/Source/modules/crypto/WorkerGlobalScopeCrypto.h#newcode43 Source/modules/crypto/WorkerGlobalScopeCrypto.h:43: class WorkerGlobalScopeCrypto FINAL : public NoBaseWillBeGarbageCollectedFinalized<WorkerGlobalScopeCrypto>, public WorkerSupplement { ...
6 years, 10 months ago (2014-02-26 14:36:24 UTC) #24
haraken
Sorry for the review delay. Let me take a look at this CL tomorrow morning ...
6 years, 10 months ago (2014-02-26 14:39:06 UTC) #25
Mads Ager (chromium)
LGTM, thanks for iterating on this! It would probably be good to get Haraken's eyes ...
6 years, 10 months ago (2014-02-26 15:10:18 UTC) #26
sof
On 2014/02/26 15:10:18, Mads Ager (chromium) wrote: > LGTM, thanks for iterating on this! > ...
6 years, 10 months ago (2014-02-26 15:29:24 UTC) #27
haraken
Thanks for the iteration! Almost LG with a couple of comments. https://codereview.chromium.org/178663004/diff/130001/Source/core/workers/WorkerGlobalScope.cpp File Source/core/workers/WorkerGlobalScope.cpp (right): ...
6 years, 9 months ago (2014-02-27 02:46:00 UTC) #28
haraken
https://codereview.chromium.org/178663004/diff/130001/Source/modules/imagebitmap/ImageBitmapFactories.h File Source/modules/imagebitmap/ImageBitmapFactories.h (right): https://codereview.chromium.org/178663004/diff/130001/Source/modules/imagebitmap/ImageBitmapFactories.h#newcode58 Source/modules/imagebitmap/ImageBitmapFactories.h:58: class ImageBitmapFactories : public Supplement<DOMWindow> { On 2014/02/27 02:46:01, ...
6 years, 9 months ago (2014-02-27 02:46:51 UTC) #29
Mads Ager (chromium)
https://codereview.chromium.org/178663004/diff/130001/Source/modules/quota/WorkerNavigatorStorageQuota.h File Source/modules/quota/WorkerNavigatorStorageQuota.h (right): https://codereview.chromium.org/178663004/diff/130001/Source/modules/quota/WorkerNavigatorStorageQuota.h#newcode42 Source/modules/quota/WorkerNavigatorStorageQuota.h:42: class WorkerNavigatorStorageQuota FINAL : public NoBaseWillBeGarbageCollected<WorkerNavigatorStorageQuota>, public WillBeHeapSupplement<WorkerNavigator> { ...
6 years, 9 months ago (2014-02-27 06:41:46 UTC) #30
haraken
> > It's a shame that we have to add NoBaseWillBeGarbageCollected to all > > ...
6 years, 9 months ago (2014-02-27 06:57:02 UTC) #31
Mads Ager (chromium)
On 2014/02/27 06:57:02, haraken wrote: > > > It's a shame that we have to ...
6 years, 9 months ago (2014-02-27 07:00:06 UTC) #32
haraken
> > I don't fully understand why a class X needs to inherit both GarbageCollected ...
6 years, 9 months ago (2014-02-27 07:13:36 UTC) #33
Mads Ager (chromium)
On 2014/02/27 07:13:36, haraken wrote: > > > I don't fully understand why a class ...
6 years, 9 months ago (2014-02-27 07:24:06 UTC) #34
sof
On 2014/02/27 07:13:36, haraken wrote: > > > I don't fully understand why a class ...
6 years, 9 months ago (2014-02-27 07:30:18 UTC) #35
Mads Ager (chromium)
On 2014/02/27 07:24:06, Mads Ager (chromium) wrote: > On 2014/02/27 07:13:36, haraken wrote: > > ...
6 years, 9 months ago (2014-02-27 07:32:05 UTC) #36
haraken
> (HeapSupplements do have such a trace() pure virtual already; needed to handle > tracing ...
6 years, 9 months ago (2014-02-27 07:33:24 UTC) #37
haraken
On 2014/02/27 07:32:05, Mads Ager (chromium) wrote: > On 2014/02/27 07:24:06, Mads Ager (chromium) wrote: ...
6 years, 9 months ago (2014-02-27 07:34:23 UTC) #38
sof
On 2014/02/27 07:33:24, haraken wrote: > > (HeapSupplements do have such a trace() pure virtual ...
6 years, 9 months ago (2014-02-27 07:35:51 UTC) #39
kouhei (in TOK)
On 2014/02/27 07:34:23, haraken wrote: > On 2014/02/27 07:32:05, Mads Ager (chromium) wrote: > > ...
6 years, 9 months ago (2014-02-27 07:36:57 UTC) #40
Mads Ager (chromium)
On 2014/02/27 07:36:57, kouhei wrote: > On 2014/02/27 07:34:23, haraken wrote: > > On 2014/02/27 ...
6 years, 9 months ago (2014-02-27 07:46:57 UTC) #41
haraken
https://codereview.chromium.org/178663004/diff/130001/Source/heap/Handle.h File Source/heap/Handle.h (right): https://codereview.chromium.org/178663004/diff/130001/Source/heap/Handle.h#newcode565 Source/heap/Handle.h:565: #define WillBeHeapSupplementable WebCore::HeapSupplementable On 2014/02/27 02:46:01, haraken wrote: > ...
6 years, 9 months ago (2014-02-27 08:39:48 UTC) #42
sof
https://codereview.chromium.org/178663004/diff/130001/Source/core/workers/WorkerGlobalScope.cpp File Source/core/workers/WorkerGlobalScope.cpp (right): https://codereview.chromium.org/178663004/diff/130001/Source/core/workers/WorkerGlobalScope.cpp#newcode59 Source/core/workers/WorkerGlobalScope.cpp:59: class CloseWorkerGlobalScopeTask : public ExecutionContextTask { On 2014/02/27 02:46:01, ...
6 years, 9 months ago (2014-02-27 08:50:36 UTC) #43
haraken
LGTM. I'm sorry that I've confused you a couple of times in this reviewing. https://codereview.chromium.org/178663004/diff/130001/Source/core/workers/WorkerGlobalScope.cpp ...
6 years, 9 months ago (2014-02-27 09:07:18 UTC) #44
Mads Ager (chromium)
I think the only outstanding issue here is the marking of supplement objects. Two options: ...
6 years, 9 months ago (2014-02-27 09:07:58 UTC) #45
haraken
> I'm a bit surprised that we haven't seen any issues with this. Are there ...
6 years, 9 months ago (2014-02-27 09:14:57 UTC) #46
sof
+tkent +jochen. Source/platform/Supplementable.h has changed a bit here, could platform owners have a look? thanks.
6 years, 9 months ago (2014-02-27 15:27:20 UTC) #47
jochen (gone - plz use gerrit)
+abarth who wrote most of the supplement stuff iirc
6 years, 9 months ago (2014-02-27 15:43:57 UTC) #48
sof
On 2014/02/27 09:07:58, Mads Ager (chromium) wrote: > I think the only outstanding issue here ...
6 years, 9 months ago (2014-02-27 15:47:31 UTC) #49
haraken
Let me ask a couple of clarifying questions. > Please note that since Events are ...
6 years, 9 months ago (2014-02-27 23:35:23 UTC) #50
sof
On 2014/02/27 23:35:23, haraken wrote: > Let me ask a couple of clarifying questions. > ...
6 years, 9 months ago (2014-02-28 06:17:42 UTC) #51
haraken
On 2014/02/28 06:17:42, sof wrote: > On 2014/02/27 23:35:23, haraken wrote: > > Let me ...
6 years, 9 months ago (2014-02-28 07:20:18 UTC) #52
sof
On 2014/02/28 07:20:18, haraken wrote: ... > > ah, got it. I think this is ...
6 years, 9 months ago (2014-02-28 08:21:58 UTC) #53
jochen (gone - plz use gerrit)
https://codereview.chromium.org/178663004/diff/130002/Source/core/workers/WorkerThread.cpp File Source/core/workers/WorkerThread.cpp (right): https://codereview.chromium.org/178663004/diff/130002/Source/core/workers/WorkerThread.cpp#newcode141 Source/core/workers/WorkerThread.cpp:141: ASSERT(m_workerGlobalScope->hasOneRef()); note that this ASSERT() does not hold. The ...
6 years, 9 months ago (2014-02-28 08:26:04 UTC) #54
sof
https://codereview.chromium.org/178663004/diff/130002/Source/core/workers/WorkerThread.cpp File Source/core/workers/WorkerThread.cpp (right): https://codereview.chromium.org/178663004/diff/130002/Source/core/workers/WorkerThread.cpp#newcode141 Source/core/workers/WorkerThread.cpp:141: ASSERT(m_workerGlobalScope->hasOneRef()); On 2014/02/28 08:26:06, jochen (OOO from March 1) ...
6 years, 9 months ago (2014-02-28 08:32:51 UTC) #55
jochen (gone - plz use gerrit)
https://codereview.chromium.org/178663004/diff/130002/Source/core/workers/WorkerThread.cpp File Source/core/workers/WorkerThread.cpp (right): https://codereview.chromium.org/178663004/diff/130002/Source/core/workers/WorkerThread.cpp#newcode141 Source/core/workers/WorkerThread.cpp:141: ASSERT(m_workerGlobalScope->hasOneRef()); On 2014/02/28 08:32:52, sof wrote: > On 2014/02/28 ...
6 years, 9 months ago (2014-02-28 08:35:45 UTC) #56
sof
https://codereview.chromium.org/178663004/diff/130002/Source/core/workers/WorkerThread.cpp File Source/core/workers/WorkerThread.cpp (right): https://codereview.chromium.org/178663004/diff/130002/Source/core/workers/WorkerThread.cpp#newcode141 Source/core/workers/WorkerThread.cpp:141: ASSERT(m_workerGlobalScope->hasOneRef()); On 2014/02/28 08:35:46, jochen (OOO from March 1) ...
6 years, 9 months ago (2014-02-28 08:39:23 UTC) #57
jochen (gone - plz use gerrit)
On 2014/02/28 08:39:23, sof wrote: > https://codereview.chromium.org/178663004/diff/130002/Source/core/workers/WorkerThread.cpp > File Source/core/workers/WorkerThread.cpp (right): > > https://codereview.chromium.org/178663004/diff/130002/Source/core/workers/WorkerThread.cpp#newcode141 > ...
6 years, 9 months ago (2014-02-28 09:33:28 UTC) #58
jochen (gone - plz use gerrit)
filed crbug.com/347928
6 years, 9 months ago (2014-02-28 09:38:09 UTC) #59
sof
On 2014/02/28 09:38:09, jochen (OOO from March 1) wrote: > filed crbug.com/347928 Thank you, will ...
6 years, 9 months ago (2014-02-28 09:41:33 UTC) #60
sof
abarth: Supplementable.h changes - possible to add this to your long ToDo list? Thanks.
6 years, 9 months ago (2014-02-28 11:33:29 UTC) #61
abarth-chromium
platform/ LGTM That code is pretty ugly. :( https://codereview.chromium.org/178663004/diff/200001/Source/platform/DEPS File Source/platform/DEPS (right): https://codereview.chromium.org/178663004/diff/200001/Source/platform/DEPS#newcode9 Source/platform/DEPS:9: "+heap", ...
6 years, 9 months ago (2014-03-01 07:53:09 UTC) #62
sof
On 2014/03/01 07:53:09, abarth wrote: > platform/ LGTM > > That code is pretty ugly. ...
6 years, 9 months ago (2014-03-01 08:13:37 UTC) #63
abarth-chromium
Yeah, I understand that the transition is a big ugly.
6 years, 9 months ago (2014-03-01 08:28:25 UTC) #64
abarth-chromium
On 2014/03/01 08:28:25, abarth wrote: > Yeah, I understand that the transition is a big ...
6 years, 9 months ago (2014-03-01 08:28:46 UTC) #65
haraken
sof: Do we still have any on-going issue we should discuss in this CL? Or ...
6 years, 9 months ago (2014-03-03 01:49:32 UTC) #66
sof
On 2014/03/03 01:49:32, haraken wrote: > sof: Do we still have any on-going issue we ...
6 years, 9 months ago (2014-03-03 06:08:41 UTC) #67
haraken
On 2014/03/03 06:08:41, sof wrote: > On 2014/03/03 01:49:32, haraken wrote: > > sof: Do ...
6 years, 9 months ago (2014-03-03 06:51:10 UTC) #68
sof
On 2014/03/03 06:51:10, haraken wrote: > On 2014/03/03 06:08:41, sof wrote: > > On 2014/03/03 ...
6 years, 9 months ago (2014-03-03 07:03:55 UTC) #69
Mads Ager (chromium)
The Supplement changes now look solid. Thanks for adding the test. LGTM
6 years, 9 months ago (2014-03-03 07:15:23 UTC) #70
sof
haraken: once revert https://codereview.chromium.org/185393006/ lands, I'd like to rebase & commit this one, so as ...
6 years, 9 months ago (2014-03-03 12:41:00 UTC) #71
haraken
Double-checked. LGTM. https://codereview.chromium.org/178663004/diff/220001/Source/core/workers/WorkerGlobalScope.h File Source/core/workers/WorkerGlobalScope.h (right): https://codereview.chromium.org/178663004/diff/220001/Source/core/workers/WorkerGlobalScope.h#newcode82 Source/core/workers/WorkerGlobalScope.h:82: void detach(); (I'm sorry I suggested "detach" ...
6 years, 9 months ago (2014-03-03 12:55:49 UTC) #72
haraken
On 2014/03/03 12:41:00, sof wrote: > haraken: once revert https://codereview.chromium.org/185393006/ lands, I'd like > to ...
6 years, 9 months ago (2014-03-03 12:58:08 UTC) #73
sof
https://codereview.chromium.org/178663004/diff/220001/Source/core/workers/WorkerThread.cpp File Source/core/workers/WorkerThread.cpp (right): https://codereview.chromium.org/178663004/diff/220001/Source/core/workers/WorkerThread.cpp#newcode151 Source/core/workers/WorkerThread.cpp:151: ThreadState::current()->cleanup(); On 2014/03/03 12:55:50, haraken wrote: > > One ...
6 years, 9 months ago (2014-03-03 13:13:57 UTC) #74
haraken
> > One question: > > > > In the non-oilpan world, it was guaranteed ...
6 years, 9 months ago (2014-03-03 13:18:20 UTC) #75
haraken
Feel free to reland your CL once https://codereview.chromium.org/185463005/ lands. It will move Event back to ...
6 years, 9 months ago (2014-03-03 13:19:15 UTC) #76
sof
https://codereview.chromium.org/178663004/diff/220001/Source/core/workers/WorkerGlobalScope.h File Source/core/workers/WorkerGlobalScope.h (right): https://codereview.chromium.org/178663004/diff/220001/Source/core/workers/WorkerGlobalScope.h#newcode82 Source/core/workers/WorkerGlobalScope.h:82: void detach(); On 2014/03/03 12:55:50, haraken wrote: > > ...
6 years, 9 months ago (2014-03-04 08:17:59 UTC) #77
sof
On 2014/03/03 13:19:15, haraken wrote: > Feel free to reland your CL once https://codereview.chromium.org/185463005/ > ...
6 years, 9 months ago (2014-03-04 08:22:49 UTC) #78
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 9 months ago (2014-03-04 08:23:06 UTC) #79
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/178663004/240001
6 years, 9 months ago (2014-03-04 08:25:59 UTC) #80
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-04 12:54:33 UTC) #81
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=15035
6 years, 9 months ago (2014-03-04 12:54:34 UTC) #82
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 9 months ago (2014-03-04 12:55:57 UTC) #83
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/178663004/240001
6 years, 9 months ago (2014-03-04 12:56:21 UTC) #84
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-04 16:42:31 UTC) #85
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=15066
6 years, 9 months ago (2014-03-04 16:42:32 UTC) #86
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 9 months ago (2014-03-04 16:46:05 UTC) #87
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/178663004/240001
6 years, 9 months ago (2014-03-04 16:46:15 UTC) #88
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-05 08:59:34 UTC) #89
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=15354
6 years, 9 months ago (2014-03-05 08:59:36 UTC) #90
sof
On 2014/03/05 08:59:36, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 9 months ago (2014-03-05 09:42:33 UTC) #91
sof
On 2014/03/05 09:42:33, sof wrote: > On 2014/03/05 08:59:36, I haz the power (commit-bot) wrote: ...
6 years, 9 months ago (2014-03-05 12:06:23 UTC) #92
haraken
https://codereview.chromium.org/178663004/diff/280001/Source/core/workers/WorkerGlobalScope.cpp File Source/core/workers/WorkerGlobalScope.cpp (right): https://codereview.chromium.org/178663004/diff/280001/Source/core/workers/WorkerGlobalScope.cpp#newcode201 Source/core/workers/WorkerGlobalScope.cpp:201: // thread is accessed by other GCed objects being ...
6 years, 9 months ago (2014-03-05 14:41:06 UTC) #93
sof
On 2014/03/05 14:41:06, haraken wrote: > https://codereview.chromium.org/178663004/diff/280001/Source/core/workers/WorkerGlobalScope.cpp > File Source/core/workers/WorkerGlobalScope.cpp (right): > > https://codereview.chromium.org/178663004/diff/280001/Source/core/workers/WorkerGlobalScope.cpp#newcode201 > ...
6 years, 9 months ago (2014-03-05 14:43:16 UTC) #94
sof
On 2014/03/05 14:41:06, haraken wrote: > https://codereview.chromium.org/178663004/diff/280001/Source/core/workers/WorkerGlobalScope.cpp > File Source/core/workers/WorkerGlobalScope.cpp (right): > > https://codereview.chromium.org/178663004/diff/280001/Source/core/workers/WorkerGlobalScope.cpp#newcode201 > ...
6 years, 9 months ago (2014-03-05 14:43:22 UTC) #95
haraken
On 2014/03/05 14:43:22, sof wrote: > On 2014/03/05 14:41:06, haraken wrote: > > > https://codereview.chromium.org/178663004/diff/280001/Source/core/workers/WorkerGlobalScope.cpp ...
6 years, 9 months ago (2014-03-05 14:59:15 UTC) #96
sof
On 2014/03/05 14:59:15, haraken wrote: > On 2014/03/05 14:43:22, sof wrote: > > On 2014/03/05 ...
6 years, 9 months ago (2014-03-05 15:13:54 UTC) #97
sof
With the modules/notifications/ removal (r168471) having been reverted/reinstated (r168486), the rebase here will need to ...
6 years, 9 months ago (2014-03-05 16:11:19 UTC) #98
haraken
> Events aren't, of course, presently on the heap, but that doesn't change the > ...
6 years, 9 months ago (2014-03-06 00:53:49 UTC) #99
sof
On 2014/03/06 00:53:49, haraken wrote: > > Events aren't, of course, presently on the heap, ...
6 years, 9 months ago (2014-03-06 06:25:28 UTC) #100
sof
Rebased to pick up http://crrev.com/187483002 (feel free to Cc: or ping me on reviews that ...
6 years, 9 months ago (2014-03-07 10:34:22 UTC) #101
haraken
> > Does that mean that we should delay finalizing WorkerGlobalScope just like we > ...
6 years, 9 months ago (2014-03-10 01:27:11 UTC) #102
sof
On 2014/03/10 01:27:11, haraken wrote: > > > Does that mean that we should delay ...
6 years, 9 months ago (2014-03-10 06:38:22 UTC) #103
haraken
https://codereview.chromium.org/178663004/diff/300001/Source/core/workers/WorkerGlobalScope.cpp File Source/core/workers/WorkerGlobalScope.cpp (right): https://codereview.chromium.org/178663004/diff/300001/Source/core/workers/WorkerGlobalScope.cpp#newcode201 Source/core/workers/WorkerGlobalScope.cpp:201: // thread is accessed by other GCed objects being ...
6 years, 9 months ago (2014-03-10 07:10:01 UTC) #104
Mads Ager (chromium)
https://codereview.chromium.org/178663004/diff/300001/Source/core/workers/WorkerGlobalScope.cpp File Source/core/workers/WorkerGlobalScope.cpp (right): https://codereview.chromium.org/178663004/diff/300001/Source/core/workers/WorkerGlobalScope.cpp#newcode201 Source/core/workers/WorkerGlobalScope.cpp:201: // thread is accessed by other GCed objects being ...
6 years, 9 months ago (2014-03-10 08:51:11 UTC) #105
haraken
Discussed offline, LGTM. Let's add a FIXME and then land this CL.
6 years, 9 months ago (2014-03-10 09:03:30 UTC) #106
haraken
On 2014/03/10 09:03:30, haraken wrote: > Discussed offline, LGTM. Let's add a FIXME and then ...
6 years, 9 months ago (2014-03-10 09:06:09 UTC) #107
sof
On 2014/03/10 09:03:30, haraken wrote: > Discussed offline, LGTM. Let's add a FIXME and then ...
6 years, 9 months ago (2014-03-10 10:33:49 UTC) #108
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 9 months ago (2014-03-10 10:34:02 UTC) #109
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/178663004/310001
6 years, 9 months ago (2014-03-10 10:34:14 UTC) #110
commit-bot: I haz the power
6 years, 9 months ago (2014-03-10 11:10:26 UTC) #111
Message was sent while issue was closed.
Change committed as 168830

Powered by Google App Engine
This is Rietveld 408576698