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

Side by Side Diff: include/v8.h

Issue 1125383007: Postpone counters triggered during GC, and use a HandleScope when calling back. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Codereview feedback Created 5 years, 7 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 | src/heap/heap.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project 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 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 5089 matching lines...) Expand 10 before | Expand all | Expand 10 after
5100 * list. 5100 * list.
5101 */ 5101 */
5102 enum UseCounterFeature { 5102 enum UseCounterFeature {
5103 kUseAsm = 0, 5103 kUseAsm = 0,
5104 kBreakIterator = 1, 5104 kBreakIterator = 1,
5105 kLegacyConst = 2, 5105 kLegacyConst = 2,
5106 kMarkDequeOverflow = 3, 5106 kMarkDequeOverflow = 3,
5107 kStoreBufferOverflow = 4, 5107 kStoreBufferOverflow = 4,
5108 kSlotsBufferOverflow = 5, 5108 kSlotsBufferOverflow = 5,
5109 kObjectObserve = 6, 5109 kObjectObserve = 6,
5110 kForcedGC = 7,
5110 kUseCounterFeatureCount // This enum value must be last. 5111 kUseCounterFeatureCount // This enum value must be last.
5111 }; 5112 };
5112 5113
5113 typedef void (*UseCounterCallback)(Isolate* isolate, 5114 typedef void (*UseCounterCallback)(Isolate* isolate,
5114 UseCounterFeature feature); 5115 UseCounterFeature feature);
5115 5116
5116 5117
5117 /** 5118 /**
5118 * Creates a new isolate. Does not change the currently entered 5119 * Creates a new isolate. Does not change the currently entered
5119 * isolate. 5120 * isolate.
(...skipping 2907 matching lines...) Expand 10 before | Expand all | Expand 10 after
8027 */ 8028 */
8028 8029
8029 8030
8030 } // namespace v8 8031 } // namespace v8
8031 8032
8032 8033
8033 #undef TYPE_CHECK 8034 #undef TYPE_CHECK
8034 8035
8035 8036
8036 #endif // V8_H_ 8037 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698