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

Issue 1805843002: [v8 gc] Introduce a base class for all objects that can have pending activity (Closed)

Created:
4 years, 9 months ago by jochen (gone - plz use gerrit)
Modified:
4 years, 7 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-bindings_chromium.org, blink-reviews-css, blink-reviews-dom_chromium.org, blink-reviews-events_chromium.org, blink-reviews-html_chromium.org, blink-worker-reviews_chromium.org, chromium-reviews, cmumford, dglazkov+blink, eae+blinkwatch, eric.carlson_apple.com, Eric Willigers, falken, feature-media-reviews_chromium.org, hongchan, horo+watch_chromium.org, jkarlin+watch_chromium.org, jsbell+idb_chromium.org, jsbell+serviceworker_chromium.org, kenneth.christiansen, kinuko+fileapi, kinuko+worker_chromium.org, kinuko+serviceworker, michaeln, mlamouri+watch-blink_chromium.org, nhiroki, Peter Beverloo, philipj_slow, rjwright, rwlbuis, Raymond Toy, serviceworker-reviews, shans, timvolodine, tommyw+watchlist_chromium.org, toyoshim+midi_chromium.org, tyoshino+watch_chromium.org, tzik, yhirano+watch_chromium.org, Yoav Weiss
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[v8 gc] Introduce a base class for all objects that can have pending activity When we trace the C++ heap from V8, we have to have a way to find all objects that can keep themselves alive. Since most hasPendingActivity() implementations don't have an easy way to detect when the activity state changes, we keep a list that is scanned during the atomic pause. BUG=468240 R=hpayer@chromium.org,haraken@chromium.org,hlopko@chromium.org Committed: https://crrev.com/6bc1ec987cdb07ded7b766632eeef3eb8a6bec7e Cr-Commit-Position: refs/heads/master@{#382254}

Patch Set 1 #

Patch Set 2 : updates #

Total comments: 2

Patch Set 3 : updates #

Total comments: 13

Patch Set 4 : updates #

Patch Set 5 : updates #

Patch Set 6 : updates #

Patch Set 7 : updates #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+608 lines, -218 lines) Patch
M third_party/WebKit/Source/bindings/IDLExtendedAttributes.md View 1 2 3 3 chunks +36 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/IDLExtendedAttributes.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.h View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.cpp View 1 2 3 1 chunk +41 lines, -0 lines 1 comment Download
M third_party/WebKit/Source/bindings/core/v8/NPV8Object.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.cpp View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8GCController.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp View 1 2 3 7 chunks +13 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h View 1 2 3 4 chunks +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/v8.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/compute_interfaces_info_overall.py View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_interface.py View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface.cpp View 1 2 3 2 chunks +15 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface_base.cpp View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/idls/core/TestInterface.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/idls/core/TestInterface2.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/idls/core/TestInterfaceNamedConstructor.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/idls/modules/TestInterface5.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8ArrayBuffer.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8ArrayBufferView.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8DataView.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8SVGTestInterface.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedPrimaryGlobal.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor3.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCustomConstructor.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEmpty.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventInitConstructor.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventTarget.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp View 1 2 3 chunks +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNode.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestNode.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestTypedefs.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8Uint8ClampedArray.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/Animation.h View 1 2 3 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/Animation.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/Animation.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/FontFace.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/css/FontFace.cpp View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/FontFace.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/MediaQueryList.h View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/MediaQueryList.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/MediaQueryList.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/MessagePort.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/MessagePort.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/MessagePort.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fileapi/FileReader.h View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fileapi/FileReader.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fileapi/FileReader.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLImageElement.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLImageElement.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLImageElement.idl View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/EventSource.h View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/page/EventSource.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/EventSource.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/streams/ReadableStreamReader.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/streams/ReadableStreamReader.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/streams/ReadableStreamReader.idl View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/streams/UnderlyingSourceBase.h View 1 2 3 chunks +7 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/streams/UnderlyingSourceBase.idl View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/InProcessWorkerBase.h View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/workers/SharedWorker.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/workers/SharedWorker.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/workers/SharedWorker.idl View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/Worker.idl View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerMessagingProxy.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.idl View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/battery/BatteryManager.h View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/battery/BatteryManager.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/battery/BatteryManager.idl View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.h View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/Body.h View 1 2 3 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/fetch/Body.cpp View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/fetch/Body.idl View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/Response.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/fetch/Response.idl View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/filesystem/DOMFileSystem.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/filesystem/DOMFileSystem.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/filesystem/DOMFileSystem.idl View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/filesystem/FileWriter.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/filesystem/FileWriter.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/filesystem/FileWriter.idl View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBDatabase.idl View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBRequest.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBRequest.idl View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBTransaction.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBTransaction.idl View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/mediasource/MediaSource.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediasource/MediaSource.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediasource/MediaSource.idl View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediasource/SourceBuffer.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediasource/SourceBuffer.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.idl View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.idl View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/netinfo/NetworkInformation.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/netinfo/NetworkInformation.idl View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/Notification.h View 1 2 3 3 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/Notification.cpp View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/notifications/Notification.idl View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/permissions/PermissionStatus.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/permissions/PermissionStatus.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/permissions/PermissionStatus.idl View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationAvailability.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationAvailability.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationAvailability.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationRequest.h View 1 2 3 4 5 6 3 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationRequest.idl View 1 2 3 4 5 6 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.idl View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/speech/SpeechRecognition.h View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/speech/SpeechRecognition.idl View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.idl View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioContext.idl View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/OscillatorNode.idl View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.idl View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webmidi/MIDIAccess.h View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webmidi/MIDIAccess.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webmidi/MIDIPort.h View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webmidi/MIDIPort.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/websockets/DOMWebSocket.h View 1 2 3 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/websockets/WebSocket.idl View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 41 (8 generated)
jochen (gone - plz use gerrit)
ptal I know that Hannes doesn't like the name - better proposals welcome :) https://codereview.chromium.org/1805843002/diff/20001/third_party/WebKit/Source/bindings/core/v8/V8GCRoot.cpp ...
4 years, 9 months ago (2016-03-16 08:46:38 UTC) #2
Marcel Hlopko
https://codereview.chromium.org/1805843002/diff/20001/third_party/WebKit/Source/bindings/core/v8/V8GCRoot.cpp File third_party/WebKit/Source/bindings/core/v8/V8GCRoot.cpp (right): https://codereview.chromium.org/1805843002/diff/20001/third_party/WebKit/Source/bindings/core/v8/V8GCRoot.cpp#newcode25 third_party/WebKit/Source/bindings/core/v8/V8GCRoot.cpp:25: gcRoots().add(this); I will certainly need a way to get ...
4 years, 9 months ago (2016-03-16 09:07:40 UTC) #3
Yuki
How were the classes listed in this CL selected? Maybe it's the classes that have ...
4 years, 9 months ago (2016-03-16 10:38:54 UTC) #5
haraken
My suggestion would be: class ScriptWrappable { ...; // Don't have hasPendingActivity. }; class ActiveScriptWrappable ...
4 years, 9 months ago (2016-03-16 11:54:55 UTC) #6
jochen (gone - plz use gerrit)
On 2016/03/16 at 11:54:55, haraken wrote: > My suggestion would be: > > class ScriptWrappable ...
4 years, 9 months ago (2016-03-16 11:59:50 UTC) #7
jochen (gone - plz use gerrit)
which i guess is fine
4 years, 9 months ago (2016-03-16 12:00:05 UTC) #8
haraken
On 2016/03/16 11:59:50, jochen wrote: > On 2016/03/16 at 11:54:55, haraken wrote: > > My ...
4 years, 9 months ago (2016-03-16 13:43:05 UTC) #9
Hannes Payer (out of office)
On 2016/03/16 13:43:05, haraken wrote: > On 2016/03/16 11:59:50, jochen wrote: > > On 2016/03/16 ...
4 years, 9 months ago (2016-03-16 13:52:30 UTC) #10
haraken
On 2016/03/16 13:52:30, Hannes Payer - slow wrote: > On 2016/03/16 13:43:05, haraken wrote: > ...
4 years, 9 months ago (2016-03-16 14:05:16 UTC) #11
jochen (gone - plz use gerrit)
ptal There's now an ActiveScriptWrappable. it doesn't inherit from ScriptWrappable, as sometimes base classes are ...
4 years, 9 months ago (2016-03-17 16:55:35 UTC) #12
Yuki
LGTM. However, I'm a little afraid that this CL may increase the binary size of ...
4 years, 9 months ago (2016-03-18 06:59:40 UTC) #13
haraken
LGTM https://codereview.chromium.org/1805843002/diff/40001/third_party/WebKit/Source/bindings/IDLExtendedAttributes.md File third_party/WebKit/Source/bindings/IDLExtendedAttributes.md (right): https://codereview.chromium.org/1805843002/diff/40001/third_party/WebKit/Source/bindings/IDLExtendedAttributes.md#newcode1199 third_party/WebKit/Source/bindings/IDLExtendedAttributes.md:1199: ### [RequiresFinalizer] _(i)_ "RequiresFinalizer" sounds a bit confusing, ...
4 years, 9 months ago (2016-03-18 08:07:28 UTC) #14
Marcel Hlopko
lgtm, but maybe we could discuss the naming a bit? https://codereview.chromium.org/1805843002/diff/40001/third_party/WebKit/Source/bindings/IDLExtendedAttributes.md File third_party/WebKit/Source/bindings/IDLExtendedAttributes.md (right): https://codereview.chromium.org/1805843002/diff/40001/third_party/WebKit/Source/bindings/IDLExtendedAttributes.md#newcode1222 ...
4 years, 9 months ago (2016-03-18 08:34:40 UTC) #15
Marcel Hlopko
So we discussed with Hannes and agreed that both root and finalization are misleading. But ...
4 years, 9 months ago (2016-03-18 10:12:38 UTC) #16
Yuki
On 2016/03/18 10:12:38, hlopko wrote: > So we discussed with Hannes and agreed that both ...
4 years, 9 months ago (2016-03-18 10:38:22 UTC) #17
Marcel Hlopko
+1 to everything Yuki said
4 years, 9 months ago (2016-03-18 10:43:11 UTC) #18
jochen (gone - plz use gerrit)
ActiveScriptWrappable it is then - that way, you don't have to search around in the ...
4 years, 9 months ago (2016-03-18 10:46:58 UTC) #19
Yuki
On 2016/03/18 10:46:58, jochen wrote: > ActiveScriptWrappable it is then - that way, you don't ...
4 years, 9 months ago (2016-03-18 10:48:49 UTC) #20
Hannes Payer (out of office)
lgtm
4 years, 9 months ago (2016-03-18 12:27:01 UTC) #21
haraken
ActiveScriptWrappable SGTM.
4 years, 9 months ago (2016-03-18 12:51:29 UTC) #22
jochen (gone - plz use gerrit)
all comments addressed, assuming the bots like me better this time, i'll commit https://codereview.chromium.org/1805843002/diff/40001/third_party/WebKit/Source/bindings/IDLExtendedAttributes.md File ...
4 years, 9 months ago (2016-03-18 13:18:02 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1805843002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1805843002/120001
4 years, 9 months ago (2016-03-20 20:18:46 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/120090)
4 years, 9 months ago (2016-03-20 22:24:56 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1805843002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1805843002/120001
4 years, 9 months ago (2016-03-21 05:32:20 UTC) #30
jochen (gone - plz use gerrit)
yukishiino@, thanks for the warnings about binary size. I decided to go with the additional ...
4 years, 9 months ago (2016-03-21 06:22:55 UTC) #31
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 9 months ago (2016-03-21 08:08:43 UTC) #32
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/6bc1ec987cdb07ded7b766632eeef3eb8a6bec7e Cr-Commit-Position: refs/heads/master@{#382254}
4 years, 9 months ago (2016-03-21 08:10:15 UTC) #34
sof
https://codereview.chromium.org/1805843002/diff/120001/third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.cpp File third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.cpp (right): https://codereview.chromium.org/1805843002/diff/120001/third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.cpp#newcode31 third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.cpp:31: ActiveScriptWrappable::~ActiveScriptWrappable() haraken@: is it guaranteed that this global set ...
4 years, 7 months ago (2016-05-10 05:22:26 UTC) #36
jochen (gone - plz use gerrit)
On 2016/05/10 at 05:22:26, sigbjornf wrote: > https://codereview.chromium.org/1805843002/diff/120001/third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.cpp > File third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.cpp (right): > > https://codereview.chromium.org/1805843002/diff/120001/third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.cpp#newcode31 ...
4 years, 7 months ago (2016-05-10 05:26:06 UTC) #37
sof
On 2016/05/10 05:26:06, jochen wrote: > On 2016/05/10 at 05:22:26, sigbjornf wrote: > > > ...
4 years, 7 months ago (2016-05-10 05:37:01 UTC) #38
sof
On 2016/05/10 05:37:01, sof wrote: > On 2016/05/10 05:26:06, jochen wrote: > > On 2016/05/10 ...
4 years, 7 months ago (2016-05-10 06:40:44 UTC) #39
jochen (gone - plz use gerrit)
On 2016/05/10 at 06:40:44, sigbjornf wrote: > On 2016/05/10 05:37:01, sof wrote: > > On ...
4 years, 7 months ago (2016-05-10 06:43:18 UTC) #40
haraken
4 years, 7 months ago (2016-05-10 07:08:27 UTC) #41
Message was sent while issue was closed.
On 2016/05/10 06:43:18, jochen wrote:
> On 2016/05/10 at 06:40:44, sigbjornf wrote:
> > On 2016/05/10 05:37:01, sof wrote:
> > > On 2016/05/10 05:26:06, jochen wrote:
> > > > On 2016/05/10 at 05:22:26, sigbjornf wrote:
> > > > >
> > > >
> > >
>
https://codereview.chromium.org/1805843002/diff/120001/third_party/WebKit/Sou...
> > > > > File
> third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.cpp
> > > > (right):
> > > > > 
> > > > >
> > > >
> > >
>
https://codereview.chromium.org/1805843002/diff/120001/third_party/WebKit/Sou...
> > > > >
third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.cpp:31:
> > > > ActiveScriptWrappable::~ActiveScriptWrappable()
> > > > > haraken@: is it guaranteed that this global set of bare pointers never
> > > contain
> > > > anything that's about to be (lazily) swept, and will not be visited when
> > > tracing
> > > > ScriptWrappables?
> > > > 
> > > > Why do you need this guarantee?
> > > 
> > > Touching dying objects risks touching dead ones, so at least knowing that
> this
> > > unmanaged set of heap pointers is safe, would be good. I couldn't find the
> > > argument behind that here.
> > 
> > Letting the Oilpan GC handle the accurate liveness of ActiveScriptWrappables
> is an alternative, see https://codereview.chromium.org/1962113003/
> 
> sgtm

Sounds good.

Powered by Google App Engine
This is Rietveld 408576698