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

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

Issue 2355193002: Use enum for per thread heap enabled flag (Closed)
Patch Set: fix Created 4 years, 2 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
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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 enum V8GCType { 100 enum V8GCType {
101 V8MinorGC, 101 V8MinorGC,
102 V8MajorGC, 102 V8MajorGC,
103 }; 103 };
104
105 enum ThreadHeapMode {
106 MainThreadHeapMode,
107 PerThreadHeapMode,
108 };
104 }; 109 };
105 110
106 } // namespace blink 111 } // namespace blink
107 112
108 #endif 113 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp ('k') | third_party/WebKit/Source/platform/heap/Heap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698