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

Side by Side Diff: src/v8globals.h

Issue 6745033: On store buffer overflow we mark individidual pages for... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 class Debugger; 126 class Debugger;
127 class DebugInfo; 127 class DebugInfo;
128 class Descriptor; 128 class Descriptor;
129 class DescriptorArray; 129 class DescriptorArray;
130 class Expression; 130 class Expression;
131 class ExternalReference; 131 class ExternalReference;
132 class FixedArray; 132 class FixedArray;
133 class FunctionEntry; 133 class FunctionEntry;
134 class FunctionLiteral; 134 class FunctionLiteral;
135 class FunctionTemplateInfo; 135 class FunctionTemplateInfo;
136 class MemoryChunk;
136 class NumberDictionary; 137 class NumberDictionary;
137 class StringDictionary; 138 class StringDictionary;
138 template <typename T> class Handle; 139 template <typename T> class Handle;
139 class Heap; 140 class Heap;
140 class HeapObject; 141 class HeapObject;
141 class IC; 142 class IC;
142 class InterceptorInfo; 143 class InterceptorInfo;
143 class IterationStatement; 144 class IterationStatement;
144 class JSArray; 145 class JSArray;
145 class JSFunction; 146 class JSFunction;
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 RECEIVER_MIGHT_BE_VALUE = 1 << 0 // Receiver might not be a JSObject. 309 RECEIVER_MIGHT_BE_VALUE = 1 << 0 // Receiver might not be a JSObject.
309 }; 310 };
310 311
311 312
312 enum InlineCacheHolderFlag { 313 enum InlineCacheHolderFlag {
313 OWN_MAP, // For fast properties objects. 314 OWN_MAP, // For fast properties objects.
314 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). 315 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects).
315 }; 316 };
316 317
317 318
319 // The Store Buffer (GC).
320 typedef enum {
321 kStoreBufferFullEvent,
322 kStoreBufferStartScanningPagesEvent,
323 kStoreBufferScanningPageEvent
324 } StoreBufferEvent;
325
326
327 typedef void (*StoreBufferCallback)(MemoryChunk* page, StoreBufferEvent event);
328
329
318 // Type of properties. 330 // Type of properties.
319 // Order of properties is significant. 331 // Order of properties is significant.
320 // Must fit in the BitField PropertyDetails::TypeField. 332 // Must fit in the BitField PropertyDetails::TypeField.
321 // A copy of this is in mirror-debugger.js. 333 // A copy of this is in mirror-debugger.js.
322 enum PropertyType { 334 enum PropertyType {
323 NORMAL = 0, // only in slow mode 335 NORMAL = 0, // only in slow mode
324 FIELD = 1, // only in fast mode 336 FIELD = 1, // only in fast mode
325 CONSTANT_FUNCTION = 2, // only in fast mode 337 CONSTANT_FUNCTION = 2, // only in fast mode
326 CALLBACKS = 3, 338 CALLBACKS = 3,
327 INTERCEPTOR = 4, // only in lookup results, not in descriptors. 339 INTERCEPTOR = 4, // only in lookup results, not in descriptors.
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 kStrictMode, 489 kStrictMode,
478 // This value is never used, but is needed to prevent GCC 4.5 from failing 490 // This value is never used, but is needed to prevent GCC 4.5 from failing
479 // to compile when we assert that a flag is either kNonStrictMode or 491 // to compile when we assert that a flag is either kNonStrictMode or
480 // kStrictMode. 492 // kStrictMode.
481 kInvalidStrictFlag 493 kInvalidStrictFlag
482 }; 494 };
483 495
484 } } // namespace v8::internal 496 } } // namespace v8::internal
485 497
486 #endif // V8_V8GLOBALS_H_ 498 #endif // V8_V8GLOBALS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698