v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
heap-snapshot-generator.cc File Reference
#include "src/profiler/heap-snapshot-generator.h"
#include <optional>
#include <utility>
#include "src/api/api-inl.h"
#include "src/base/vector.h"
#include "src/codegen/assembler-inl.h"
#include "src/common/assert-scope.h"
#include "src/common/globals.h"
#include "src/debug/debug.h"
#include "src/handles/global-handles.h"
#include "src/heap/combined-heap.h"
#include "src/heap/heap-layout-inl.h"
#include "src/heap/heap.h"
#include "src/heap/safepoint.h"
#include "src/heap/visit-object.h"
#include "src/numbers/conversions.h"
#include "src/objects/allocation-site-inl.h"
#include "src/objects/api-callbacks.h"
#include "src/objects/cell-inl.h"
#include "src/objects/feedback-cell-inl.h"
#include "src/objects/hash-table-inl.h"
#include "src/objects/js-array-buffer-inl.h"
#include "src/objects/js-array-inl.h"
#include "src/objects/js-collection-inl.h"
#include "src/objects/js-generator-inl.h"
#include "src/objects/js-objects.h"
#include "src/objects/js-promise-inl.h"
#include "src/objects/js-regexp-inl.h"
#include "src/objects/js-weak-refs-inl.h"
#include "src/objects/literal-objects-inl.h"
#include "src/objects/objects-inl.h"
#include "src/objects/prototype.h"
#include "src/objects/slots-inl.h"
#include "src/objects/struct-inl.h"
#include "src/objects/transitions-inl.h"
#include "src/objects/visitors.h"
#include "src/profiler/allocation-tracker.h"
#include "src/profiler/heap-profiler.h"
#include "src/profiler/heap-snapshot-generator-inl.h"
#include "src/profiler/output-stream-writer.h"
Include dependency graph for heap-snapshot-generator.cc:

Go to the source code of this file.

Classes

class  v8::internal::IndexedReferencesExtractor
 
class  v8::internal::RootsReferencesExtractor
 
class  v8::internal::GlobalObjectsEnumerator
 
class  v8::internal::EmbedderGraphImpl
 
struct  v8::internal::EmbedderGraphImpl::Edge
 
class  v8::internal::EmbedderGraphImpl::V8NodeImpl
 
class  v8::internal::EmbedderGraphEntriesAllocator
 

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define MAKE_STRING_MAP_CASE(instance_type, size, name, Name)
 
#define MAKE_TORQUE_CASE(Name, TYPE)
 
#define MAKE_STRING_CASE(instance_type, size, name, Name)
 
#define CONTEXT_FIELD_INDEX_NAME(index, _, name)
 
#define JSON_A(s)
 
#define JSON_S(s)
 

Functions

static void v8::internal::WriteUChar (OutputStreamWriter *w, unibrow::uchar u)
 

Variables

struct { 
 
   int   v8::internal::index 
 
   const char *   v8::internal::name 
 
v8::internal::native_context_names [] 
 

Macro Definition Documentation

◆ CONTEXT_FIELD_INDEX_NAME

#define CONTEXT_FIELD_INDEX_NAME ( index,
_,
name )
Value:
{Context::index, #name},

◆ JSON_A

#define JSON_A ( s)
Value:
"[" s "]"

◆ JSON_S

#define JSON_S ( s)
Value:
"\"" s "\""

◆ MAKE_STRING_CASE

#define MAKE_STRING_CASE ( instance_type,
size,
name,
Name )
Value:
case instance_type: \
UNREACHABLE();

◆ MAKE_STRING_MAP_CASE

#define MAKE_STRING_MAP_CASE ( instance_type,
size,
name,
Name )
Value:
case instance_type: \
return "system / Map (" #Name ")";

◆ MAKE_TORQUE_CASE

#define MAKE_TORQUE_CASE ( Name,
TYPE )
Value:
case TYPE: \
return "system / " #Name;

Variable Documentation

◆ entry_

HeapEntry* entry_
private

Definition at line 1584 of file heap-snapshot-generator.cc.

◆ explorer_

V8HeapExplorer* explorer_
private

Definition at line 1559 of file heap-snapshot-generator.cc.

◆ generator_

HeapSnapshotGenerator* generator_
private

Definition at line 1586 of file heap-snapshot-generator.cc.

◆ isolate_

Isolate* isolate_
private

Definition at line 3239 of file heap-snapshot-generator.cc.

◆ name_

const char* name_
private

Definition at line 1560 of file heap-snapshot-generator.cc.

◆ names_

StringsStorage* names_
private

Definition at line 1587 of file heap-snapshot-generator.cc.

◆ prev_

Tagged<Context> prev_
private

Definition at line 3240 of file heap-snapshot-generator.cc.

◆ size_

size_t size_
private

Definition at line 1558 of file heap-snapshot-generator.cc.