|
Ensure proper finalization of garbage-collected types.
This CL reflects the finalization requirements of the Blink GC clang plugin. In
particular, the plugin uses clang's notion of when a class has a 'trivial
finalizer' to ensure that classes that do not have trivial finalizers are
derived from finalized GC base classes.
In order for this to work, the collection types must not have user-declared
destructors when instantiated with the heap allocator. In the case of Vector, the
rules are further complicated since a heap-allocated vector can have inlined
elements, and if they need finalization then so does the heap vector.
R=erik.corry@gmail.com, vegorov@chromium.org
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169117
Total comments: 13
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+111 lines, -83 lines) |
Patch |
 |
M |
Source/core/css/CSSBasicShapes.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSBasicShapes.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSCalculationValue.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSCalculationValue.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaList.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaList.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
|
Source/core/css/MediaQueryList.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaQueryList.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaQueryMatcher.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaQueryMatcher.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/Rect.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/Rect.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/events/TouchEventContext.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/events/TouchEventContext.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/plugins/DOMPluginArray.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/testing/LayerRectList.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/testing/LayerRectList.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
Source/heap/Handle.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/heap/Heap.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/heap/HeapTest.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+13 lines, -10 lines |
0 comments
|
Download
|
 |
M |
Source/modules/crypto/WorkerGlobalScopeCrypto.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/modules/crypto/WorkerGlobalScopeCrypto.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/modules/gamepad/GamepadList.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/modules/performance/WorkerGlobalScopePerformance.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/modules/performance/WorkerGlobalScopePerformance.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/modules/quota/WorkerNavigatorStorageQuota.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/modules/quota/WorkerNavigatorStorageQuota.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/modules/speech/SpeechRecognitionResult.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/platform/Supplementable.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/wtf/HashTable.h
|
View
|
1
2
|
2 chunks |
+16 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/wtf/Vector.h
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+43 lines, -19 lines |
0 comments
|
Download
|
Total messages: 37 (0 generated)
|