v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <allocation-tracker.h>
Data Structures | |
struct | FunctionInfo |
Public Member Functions | |
AllocationTracker (HeapObjectsMap *ids, StringsStorage *names) | |
~AllocationTracker () | |
void | PrepareForSerialization () |
void | AllocationEvent (Address addr, int size) |
AllocationTraceTree * | trace_tree () |
const List< FunctionInfo * > & | function_info_list () const |
AddressToTraceMap * | address_to_trace () |
Definition at line 110 of file allocation-tracker.h.
AllocationTracker | ( | HeapObjectsMap * | ids, |
StringsStorage * | names | ||
) |
Definition at line 224 of file allocation-tracker.cc.
References v8::internal::info, and AllocationTracker::FunctionInfo::name.
~AllocationTracker | ( | ) |
Definition at line 236 of file allocation-tracker.cc.
References List< T, P >::Iterate().
|
inline |
Definition at line 132 of file allocation-tracker.h.
void AllocationEvent | ( | Address | addr, |
int | size | ||
) |
Definition at line 253 of file allocation-tracker.cc.
References AllocationTraceNode::AddAllocation(), AllocationTraceTree::AddPathFromEnd(), AddressToTraceMap::AddRange(), HeapObject::address(), StackTraceFrameIterator::Advance(), ASSERT, ASSERT_EQ, HeapObjectsMap::FindOrAddEntry(), FreeListNode::FromAddress(), HeapObject::FromAddress(), JavaScriptFrame::function(), HeapObjectsMap::heap(), AllocationTraceNode::id(), FreeListNode::IsFreeListNode(), Heap::isolate(), FreeListNode::set_size(), and HeapObject::Size().
|
inline |
Definition at line 129 of file allocation-tracker.h.
Referenced by AllocationTraceNode::Print().
void PrepareForSerialization | ( | ) |
Definition at line 242 of file allocation-tracker.cc.
References List< T, P >::AddAll().
|
inline |
Definition at line 128 of file allocation-tracker.h.