v8-profiler.h | v8-profiler.h | |||
---|---|---|---|---|
skipping to change at line 471 | skipping to change at line 471 | |||
static const uint16_t kPersistentHandleNoClassId = 0; | static const uint16_t kPersistentHandleNoClassId = 0; | |||
/** Returns memory used for profiler internal data and snapshots. */ | /** Returns memory used for profiler internal data and snapshots. */ | |||
size_t GetProfilerMemorySize(); | size_t GetProfilerMemorySize(); | |||
/** | /** | |||
* Sets a RetainedObjectInfo for an object group (see V8::SetObjectGroupI d). | * Sets a RetainedObjectInfo for an object group (see V8::SetObjectGroupI d). | |||
*/ | */ | |||
void SetRetainedObjectInfo(UniqueId id, RetainedObjectInfo* info); | void SetRetainedObjectInfo(UniqueId id, RetainedObjectInfo* info); | |||
/** | ||||
* Starts recording JS allocations immediately as they arrive and trackin | ||||
g of | ||||
* heap objects population statistics. | ||||
*/ | ||||
void StartRecordingHeapAllocations(); | ||||
/** | ||||
* Stops recording JS allocations and tracking of heap objects population | ||||
* statistics, cleans all collected heap objects population statistics da | ||||
ta. | ||||
*/ | ||||
void StopRecordingHeapAllocations(); | ||||
private: | private: | |||
HeapProfiler(); | HeapProfiler(); | |||
~HeapProfiler(); | ~HeapProfiler(); | |||
HeapProfiler(const HeapProfiler&); | HeapProfiler(const HeapProfiler&); | |||
HeapProfiler& operator=(const HeapProfiler&); | HeapProfiler& operator=(const HeapProfiler&); | |||
}; | }; | |||
/** | /** | |||
* Interface for providing information about embedder's objects | * Interface for providing information about embedder's objects | |||
* held by global handles. This information is reported in two ways: | * held by global handles. This information is reported in two ways: | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 14 lines changed or added | |||
v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 5274 | skipping to change at line 5274 | |||
static const int kStringEncodingMask = 0x4; | static const int kStringEncodingMask = 0x4; | |||
static const int kExternalTwoByteRepresentationTag = 0x02; | static const int kExternalTwoByteRepresentationTag = 0x02; | |||
static const int kExternalAsciiRepresentationTag = 0x06; | static const int kExternalAsciiRepresentationTag = 0x06; | |||
static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize; | static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize; | |||
static const int kIsolateRootsOffset = 3 * kApiPointerSize; | static const int kIsolateRootsOffset = 3 * kApiPointerSize; | |||
static const int kUndefinedValueRootIndex = 5; | static const int kUndefinedValueRootIndex = 5; | |||
static const int kNullValueRootIndex = 7; | static const int kNullValueRootIndex = 7; | |||
static const int kTrueValueRootIndex = 8; | static const int kTrueValueRootIndex = 8; | |||
static const int kFalseValueRootIndex = 9; | static const int kFalseValueRootIndex = 9; | |||
static const int kEmptyStringRootIndex = 131; | static const int kEmptyStringRootIndex = 132; | |||
static const int kNodeClassIdOffset = 1 * kApiPointerSize; | static const int kNodeClassIdOffset = 1 * kApiPointerSize; | |||
static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | |||
static const int kNodeStateMask = 0xf; | static const int kNodeStateMask = 0xf; | |||
static const int kNodeStateIsWeakValue = 2; | static const int kNodeStateIsWeakValue = 2; | |||
static const int kNodeStateIsPendingValue = 3; | static const int kNodeStateIsPendingValue = 3; | |||
static const int kNodeStateIsNearDeathValue = 4; | static const int kNodeStateIsNearDeathValue = 4; | |||
static const int kNodeIsIndependentShift = 4; | static const int kNodeIsIndependentShift = 4; | |||
static const int kNodeIsPartiallyDependentShift = 5; | static const int kNodeIsPartiallyDependentShift = 5; | |||
static const int kJSObjectType = 0xb1; | static const int kJSObjectType = 0xb2; | |||
static const int kFirstNonstringType = 0x80; | static const int kFirstNonstringType = 0x80; | |||
static const int kOddballType = 0x83; | static const int kOddballType = 0x83; | |||
static const int kForeignType = 0x87; | static const int kForeignType = 0x87; | |||
static const int kUndefinedOddballKind = 5; | static const int kUndefinedOddballKind = 5; | |||
static const int kNullOddballKind = 3; | static const int kNullOddballKind = 3; | |||
V8_EXPORT static void CheckInitializedImpl(v8::Isolate* isolate); | V8_EXPORT static void CheckInitializedImpl(v8::Isolate* isolate); | |||
V8_INLINE static void CheckInitialized(v8::Isolate* isolate) { | V8_INLINE static void CheckInitialized(v8::Isolate* isolate) { | |||
#ifdef V8_ENABLE_CHECKS | #ifdef V8_ENABLE_CHECKS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||