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

Side by Side Diff: third_party/WebKit/Source/platform/heap/BlinkGC.h

Issue 1805343004: (Only) poison unmarked heap objects prior to sweeping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove dated assert Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/heap/HeapPage.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BlinkGC_h 5 #ifndef BlinkGC_h
6 #define BlinkGC_h 6 #define BlinkGC_h
7 7
8 // BlinkGC.h is a file that defines common things used by Blink GC. 8 // BlinkGC.h is a file that defines common things used by Blink GC.
9 9
10 #include "platform/PlatformExport.h" 10 #include "platform/PlatformExport.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 Vector3ArenaIndex, 90 Vector3ArenaIndex,
91 Vector4ArenaIndex, 91 Vector4ArenaIndex,
92 InlineVectorArenaIndex, 92 InlineVectorArenaIndex,
93 HashTableArenaIndex, 93 HashTableArenaIndex,
94 FOR_EACH_TYPED_ARENA(TypedArenaEnumName) 94 FOR_EACH_TYPED_ARENA(TypedArenaEnumName)
95 LargeObjectArenaIndex, 95 LargeObjectArenaIndex,
96 // Values used for iteration of heap segments. 96 // Values used for iteration of heap segments.
97 NumberOfArenas, 97 NumberOfArenas,
98 }; 98 };
99 99
100 #if defined(ADDRESS_SANITIZER)
101 // Heaps can have their object payloads be poisoned, or cleared
102 // of their poisoning.
103 enum Poisoning {
104 SetPoison,
105 ClearPoison,
106 };
107
108 enum ObjectsToPoison {
109 UnmarkedOnly,
110 MarkedAndUnmarked,
111 };
112 #endif
113
114 enum V8GCType { 100 enum V8GCType {
115 V8MinorGC, 101 V8MinorGC,
116 V8MajorGC, 102 V8MajorGC,
117 }; 103 };
118 }; 104 };
119 105
120 } // namespace blink 106 } // namespace blink
121 107
122 #endif 108 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/heap/HeapPage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698