|
|
[wrapper-tracing] Support for incrementally tracing ScopedPersistent
This CL essentially adds the infrastructure to incrementally trace
ScopedPersistent, including automatic write barriers. The type that should be
used is TraceWrapperScopedPersistent.
Once the dust settles, this type should no longer inherit from ScopedPersistent
and contain a handle that is only weak when traced, i.e., follow regular tracing
semantics.
Drive-by-fixes:
- Only implement tracing of Persistent<v8::Value> as we can cast to this type
from any child.
- Harden assertions about tracing types.
BUG= chromium:468240
R=haraken@chromium.org,hlopko@chromium.org
Committed: https://crrev.com/aa50c29e2487ffaaf8ab0ee98f1f84f0efc89016
Cr-Commit-Position: refs/heads/master@{#429617}
Total comments: 15
Total comments: 4
Total comments: 18
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+226 lines, -84 lines) |
Patch |
 |
M |
third_party/WebKit/Source/bindings/core/v8/ScopedPersistent.h
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+39 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.h
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.cpp
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+21 lines, -12 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorTest.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+98 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorVerifier.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+13 lines, -15 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/AnyCallbackFunctionOptionalAnyArg.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/AnyCallbackFunctionOptionalAnyArg.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionInterfaceArg.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionInterfaceArg.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/events/EventTarget.cpp
|
View
|
1
|
2 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/events/PromiseRejectionEvent.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/heap/WrapperVisitor.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
Total messages: 21 (9 generated)
|