#ifndef V8_HEAP_GC_TRACER_H_
#define V8_HEAP_GC_TRACER_H_
#include <optional>
#include "include/v8-metrics.h"
#include "src/base/compiler-specific.h"
#include "src/base/macros.h"
#include "src/base/ring-buffer.h"
#include "src/common/globals.h"
#include "src/heap/base/bytes.h"
#include "src/init/heap-symbols.h"
#include "src/logging/counters.h"
#include "testing/gtest/include/gtest/gtest_prod.h"
namespace v8 {
namespace internal {
enum YoungGenerationSpeedMode { … };
#define TRACE_GC_CATEGORIES …
#define TRACE_GC(tracer, scope_id) …
#define TRACE_GC_ARG1(tracer, scope_id, arg0_name, arg0_value) …
#define TRACE_GC_WITH_FLOW(tracer, scope_id, bind_id, flow_flags) …
#define TRACE_GC1(tracer, scope_id, thread_kind) …
#define TRACE_GC1_WITH_FLOW(tracer, scope_id, thread_kind, bind_id, \
flow_flags) …
#define TRACE_GC_EPOCH(tracer, scope_id, thread_kind) …
#define TRACE_GC_EPOCH_WITH_FLOW(tracer, scope_id, thread_kind, bind_id, \
flow_flags) …
#define TRACE_GC_NOTE(note) …
#define TRACE_GC_NOTE_WITH_FLOW(note, bind_id, flow_flags) …
CollectionEpoch;
class V8_EXPORT_PRIVATE GCTracer { … };
const char* ToString(GCTracer::Event::Type type, bool short_name);
}
}
#endif