v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::V8FileLogger Class Reference

#include <log.h>

Inheritance diagram for v8::internal::V8FileLogger:
Collaboration diagram for v8::internal::V8FileLogger:

Public Member Functions

 V8FileLogger (Isolate *isolate)
 
 ~V8FileLogger () override
 
bool SetUp (Isolate *isolate)
 
void LateSetup (Isolate *isolate)
 
V8_EXPORT_PRIVATE FILE * TearDownAndGetLogFile ()
 
void SetCodeEventHandler (uint32_t options, JitCodeEventHandler event_handler)
 
sampler::Samplersampler ()
 
V8_EXPORT_PRIVATE std::string file_name () const
 
V8_EXPORT_PRIVATE void StopProfilerThread ()
 
V8_EXPORT_PRIVATE void StringEvent (const char *name, const char *value)
 
void IntPtrTEvent (const char *name, intptr_t value)
 
void NewEvent (const char *name, void *object, size_t size)
 
void DeleteEvent (const char *name, void *object)
 
void FunctionEvent (const char *reason, int script_id, double time_delta_ms, int start_position, int end_position, Tagged< String > function_name)
 
void FunctionEvent (const char *reason, int script_id, double time_delta_ms, int start_position, int end_position, const char *function_name=nullptr, size_t function_name_length=0, bool is_one_byte=true)
 
void CompilationCacheEvent (const char *action, const char *cache_type, Tagged< SharedFunctionInfo > sfi)
 
void ScriptEvent (ScriptEventType type, int script_id)
 
void ScriptDetails (Tagged< Script > script)
 
void CodeCreateEvent (CodeTag tag, DirectHandle< AbstractCode > code, const char *name) override
 
void CodeCreateEvent (CodeTag tag, DirectHandle< AbstractCode > code, DirectHandle< Name > name) override
 
void CodeCreateEvent (CodeTag tag, DirectHandle< AbstractCode > code, DirectHandle< SharedFunctionInfo > shared, DirectHandle< Name > script_name) override
 
void CodeCreateEvent (CodeTag tag, DirectHandle< AbstractCode > code, DirectHandle< SharedFunctionInfo > shared, DirectHandle< Name > script_name, int line, int column) override
 
void CallbackEvent (DirectHandle< Name > name, Address entry_point) override
 
void GetterCallbackEvent (DirectHandle< Name > name, Address entry_point) override
 
void SetterCallbackEvent (DirectHandle< Name > name, Address entry_point) override
 
void RegExpCodeCreateEvent (DirectHandle< AbstractCode > code, DirectHandle< String > source, RegExpFlags flags) override
 
void CodeMoveEvent (Tagged< InstructionStream > from, Tagged< InstructionStream > to) override
 
void BytecodeMoveEvent (Tagged< BytecodeArray > from, Tagged< BytecodeArray > to) override
 
void SharedFunctionInfoMoveEvent (Address from, Address to) override
 
void NativeContextMoveEvent (Address from, Address to) override
 
void CodeMovingGCEvent () override
 
void CodeDisableOptEvent (DirectHandle< AbstractCode > code, DirectHandle< SharedFunctionInfo > shared) override
 
void CodeDeoptEvent (DirectHandle< Code > code, DeoptimizeKind kind, Address pc, int fp_to_sp_delta) override
 
void CodeDependencyChangeEvent (DirectHandle< Code > code, DirectHandle< SharedFunctionInfo > sfi, const char *reason) override
 
void FeedbackVectorEvent (Tagged< FeedbackVector > vector, Tagged< AbstractCode > code)
 
void WeakCodeClearEvent () override
 
void ProcessDeoptEvent (DirectHandle< Code > code, SourcePosition position, const char *kind, const char *reason)
 
void CodeLinePosInfoRecordEvent (Address code_start, Tagged< TrustedByteArray > source_position_table, JitCodeEvent::CodeType code_type)
 
void CodeNameEvent (Address addr, int pos, const char *code_name)
 
void ICEvent (const char *type, bool keyed, DirectHandle< Map > map, DirectHandle< Object > key, char old_state, char new_state, const char *modifier, const char *slow_stub_reason)
 
void MapEvent (const char *type, DirectHandle< Map > from, DirectHandle< Map > to, const char *reason=nullptr, DirectHandle< HeapObject > name_or_sfi=DirectHandle< HeapObject >())
 
void MapCreate (Tagged< Map > map)
 
void MapDetails (Tagged< Map > map)
 
void MapMoveEvent (Tagged< Map > from, Tagged< Map > to)
 
void SharedLibraryEvent (const std::string &library_path, uintptr_t start, uintptr_t end, intptr_t aslr_slide)
 
void SharedLibraryEnd ()
 
void CurrentTimeEvent ()
 
V8_EXPORT_PRIVATE void TimerEvent (v8::LogEventStatus se, const char *name)
 
V8_EXPORT_PRIVATE bool is_logging ()
 
bool is_listening_to_code_events () override
 
bool allows_code_compaction () override
 
void LogExistingFunction (DirectHandle< SharedFunctionInfo > shared, DirectHandle< AbstractCode > code)
 
V8_EXPORT_PRIVATE void LogCompiledFunctions (bool ensure_source_positions_available=true)
 
V8_EXPORT_PRIVATE void LogAccessorCallbacks ()
 
V8_EXPORT_PRIVATE void LogCodeObjects ()
 
V8_EXPORT_PRIVATE void LogBuiltins ()
 
void LogAllMaps ()
 
- Public Member Functions inherited from v8::internal::LogEventListener
virtual ~LogEventListener ()=default
 

Static Public Member Functions

static void EnterExternal (Isolate *isolate)
 
static void LeaveExternal (Isolate *isolate)
 
V8_NOINLINE static V8_PRESERVE_MOST void CallEventLoggerInternal (Isolate *isolate, const char *name, v8::LogEventStatus se, bool expose_to_api)
 
static V8_INLINE void CallEventLogger (Isolate *isolate, const char *name, v8::LogEventStatus se, bool expose_to_api)
 
static V8_INLINE CodeTag ToNativeByScript (CodeTag tag, Tagged< Script > script)
 

Static Public Attributes

static const LogSeparator kNext = LogSeparator::kSeparator
 

Private Member Functions

Loggerlogger () const
 
void UpdateIsLogging (bool value)
 
void ProfilerBeginEvent ()
 
void CallbackEventInternal (const char *prefix, DirectHandle< Name > name, Address entry_point)
 
void MoveEventInternal (Event event, Address from, Address to)
 
void InitNameBuffer (Event tag)
 
void TickEvent (TickSample *sample, bool overflow)
 
void RuntimeCallTimerEvent ()
 
void UncheckedStringEvent (const char *name, const char *value)
 
bool EnsureLogScriptSource (Tagged< Script > script)
 
void LogSourceCodeInformation (DirectHandle< AbstractCode > code, DirectHandle< SharedFunctionInfo > shared)
 
void LogCodeDisassemble (DirectHandle< AbstractCode > code)
 
void WriteApiSecurityCheck ()
 
void WriteApiNamedPropertyAccess (const char *tag, Tagged< JSObject > holder, Tagged< Object > name)
 
void WriteApiIndexedPropertyAccess (const char *tag, Tagged< JSObject > holder, uint32_t index)
 
void WriteApiObjectAccess (const char *tag, Tagged< JSReceiver > obj)
 
void WriteApiEntryCall (const char *name)
 
int64_t Time ()
 

Private Attributes

Isolateisolate_
 
std::unique_ptr< Tickerticker_
 
std::unique_ptr< Profilerprofiler_
 
std::atomic< boolis_logging_
 
std::unique_ptr< LogFilelog_file_
 
std::unique_ptr< LowLevelLoggerll_logger_
 
std::unique_ptr< JitLoggerjit_logger_
 
std::set< int > logged_source_code_
 
uint32_t next_source_info_id_ = 0
 
bool is_initialized_
 
ExistingCodeLogger existing_code_logger_
 
base::ElapsedTimer timer_
 

Friends

class Profiler
 

Additional Inherited Members

- Public Types inherited from v8::internal::LogEventListener
enum class  Event : uint8_t { LOG_EVENT_LIST =(DECLARE_ENUM) kLength }
 
enum class  CodeTag : uint8_t { CODE_TYPE_LIST =(DECLARE_ENUM) kLength }
 

Detailed Description

Definition at line 116 of file log.h.

Constructor & Destructor Documentation

◆ V8FileLogger()

v8::internal::V8FileLogger::V8FileLogger ( Isolate * isolate)
explicit

Definition at line 1230 of file log.cc.

◆ ~V8FileLogger()

v8::internal::V8FileLogger::~V8FileLogger ( )
overridedefault

Member Function Documentation

◆ allows_code_compaction()

bool v8::internal::V8FileLogger::allows_code_compaction ( )
inlineoverridevirtual

Reimplemented from v8::internal::LogEventListener.

Definition at line 280 of file log.h.

◆ BytecodeMoveEvent()

void v8::internal::V8FileLogger::BytecodeMoveEvent ( Tagged< BytecodeArray > from,
Tagged< BytecodeArray > to )
overridevirtual

Implements v8::internal::LogEventListener.

Definition at line 1683 of file log.cc.

Here is the call graph for this function:

◆ CallbackEvent()

void v8::internal::V8FileLogger::CallbackEvent ( DirectHandle< Name > name,
Address entry_point )
overridevirtual

Implements v8::internal::LogEventListener.

Definition at line 1649 of file log.cc.

Here is the call graph for this function:

◆ CallbackEventInternal()

void v8::internal::V8FileLogger::CallbackEventInternal ( const char * prefix,
DirectHandle< Name > name,
Address entry_point )
private

Definition at line 1637 of file log.cc.

Here is the caller graph for this function:

◆ CallEventLogger()

static V8_INLINE void v8::internal::V8FileLogger::CallEventLogger ( Isolate * isolate,
const char * name,
v8::LogEventStatus se,
bool expose_to_api )
inlinestatic

Definition at line 262 of file log.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CallEventLoggerInternal()

V8_NOINLINE static V8_PRESERVE_MOST void v8::internal::V8FileLogger::CallEventLoggerInternal ( Isolate * isolate,
const char * name,
v8::LogEventStatus se,
bool expose_to_api )
inlinestatic

Definition at line 253 of file log.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CodeCreateEvent() [1/4]

void v8::internal::V8FileLogger::CodeCreateEvent ( CodeTag tag,
DirectHandle< AbstractCode > code,
const char * name )
overridevirtual

Implements v8::internal::LogEventListener.

Definition at line 1503 of file log.cc.

Here is the call graph for this function:

◆ CodeCreateEvent() [2/4]

void v8::internal::V8FileLogger::CodeCreateEvent ( CodeTag tag,
DirectHandle< AbstractCode > code,
DirectHandle< Name > name )
overridevirtual

Implements v8::internal::LogEventListener.

Definition at line 1517 of file log.cc.

Here is the call graph for this function:

◆ CodeCreateEvent() [3/4]

void v8::internal::V8FileLogger::CodeCreateEvent ( CodeTag tag,
DirectHandle< AbstractCode > code,
DirectHandle< SharedFunctionInfo > shared,
DirectHandle< Name > script_name )
overridevirtual

Implements v8::internal::LogEventListener.

Definition at line 1532 of file log.cc.

Here is the call graph for this function:

◆ CodeCreateEvent() [4/4]

void v8::internal::V8FileLogger::CodeCreateEvent ( CodeTag tag,
DirectHandle< AbstractCode > code,
DirectHandle< SharedFunctionInfo > shared,
DirectHandle< Name > script_name,
int line,
int column )
overridevirtual

Implements v8::internal::LogEventListener.

Definition at line 1586 of file log.cc.

Here is the call graph for this function:

◆ CodeDeoptEvent()

void v8::internal::V8FileLogger::CodeDeoptEvent ( DirectHandle< Code > code,
DeoptimizeKind kind,
Address pc,
int fp_to_sp_delta )
overridevirtual

Implements v8::internal::LogEventListener.

Definition at line 1737 of file log.cc.

Here is the call graph for this function:

◆ CodeDependencyChangeEvent()

void v8::internal::V8FileLogger::CodeDependencyChangeEvent ( DirectHandle< Code > code,
DirectHandle< SharedFunctionInfo > sfi,
const char * reason )
overridevirtual

Implements v8::internal::LogEventListener.

Definition at line 1746 of file log.cc.

Here is the call graph for this function:

◆ CodeDisableOptEvent()

void v8::internal::V8FileLogger::CodeDisableOptEvent ( DirectHandle< AbstractCode > code,
DirectHandle< SharedFunctionInfo > shared )
overridevirtual

Implements v8::internal::LogEventListener.

Definition at line 1701 of file log.cc.

Here is the call graph for this function:

◆ CodeLinePosInfoRecordEvent()

void v8::internal::V8FileLogger::CodeLinePosInfoRecordEvent ( Address code_start,
Tagged< TrustedByteArray > source_position_table,
JitCodeEvent::CodeType code_type )

Definition at line 1777 of file log.cc.

Here is the caller graph for this function:

◆ CodeMoveEvent()

void v8::internal::V8FileLogger::CodeMoveEvent ( Tagged< InstructionStream > from,
Tagged< InstructionStream > to )
overridevirtual

Implements v8::internal::LogEventListener.

Definition at line 1676 of file log.cc.

Here is the call graph for this function:

◆ CodeMovingGCEvent()

void v8::internal::V8FileLogger::CodeMovingGCEvent ( )
overridevirtual

Implements v8::internal::LogEventListener.

Definition at line 1695 of file log.cc.

Here is the call graph for this function:

◆ CodeNameEvent()

void v8::internal::V8FileLogger::CodeNameEvent ( Address addr,
int pos,
const char * code_name )

Definition at line 1796 of file log.cc.

Here is the call graph for this function:

◆ CompilationCacheEvent()

void v8::internal::V8FileLogger::CompilationCacheEvent ( const char * action,
const char * cache_type,
Tagged< SharedFunctionInfo > sfi )

Definition at line 1859 of file log.cc.

Here is the call graph for this function:

◆ CurrentTimeEvent()

void v8::internal::V8FileLogger::CurrentTimeEvent ( )

Definition at line 1310 of file log.cc.

Here is the call graph for this function:

◆ DeleteEvent()

void v8::internal::V8FileLogger::DeleteEvent ( const char * name,
void * object )

Definition at line 1358 of file log.cc.

◆ EnsureLogScriptSource()

bool v8::internal::V8FileLogger::EnsureLogScriptSource ( Tagged< Script > script)
private

Definition at line 1925 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EnterExternal()

static void v8::internal::V8FileLogger::EnterExternal ( Isolate * isolate)
static

◆ FeedbackVectorEvent()

void v8::internal::V8FileLogger::FeedbackVectorEvent ( Tagged< FeedbackVector > vector,
Tagged< AbstractCode > code )

Definition at line 1553 of file log.cc.

Here is the call graph for this function:

◆ file_name()

std::string v8::internal::V8FileLogger::file_name ( ) const

Definition at line 2438 of file log.cc.

Here is the caller graph for this function:

◆ FunctionEvent() [1/2]

void v8::internal::V8FileLogger::FunctionEvent ( const char * reason,
int script_id,
double time_delta_ms,
int start_position,
int end_position,
const char * function_name = nullptr,
size_t function_name_length = 0,
bool is_one_byte = true )

Definition at line 1843 of file log.cc.

Here is the call graph for this function:

◆ FunctionEvent() [2/2]

void v8::internal::V8FileLogger::FunctionEvent ( const char * reason,
int script_id,
double time_delta_ms,
int start_position,
int end_position,
Tagged< String > function_name )

Definition at line 1830 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetterCallbackEvent()

void v8::internal::V8FileLogger::GetterCallbackEvent ( DirectHandle< Name > name,
Address entry_point )
overridevirtual

Implements v8::internal::LogEventListener.

Definition at line 1653 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ICEvent()

void v8::internal::V8FileLogger::ICEvent ( const char * type,
bool keyed,
DirectHandle< Map > map,
DirectHandle< Object > key,
char old_state,
char new_state,
const char * modifier,
const char * slow_stub_reason )

Definition at line 1995 of file log.cc.

Here is the call graph for this function:

◆ InitNameBuffer()

void v8::internal::V8FileLogger::InitNameBuffer ( Event tag)
private

◆ IntPtrTEvent()

void v8::internal::V8FileLogger::IntPtrTEvent ( const char * name,
intptr_t value )

Definition at line 1281 of file log.cc.

◆ is_listening_to_code_events()

bool v8::internal::V8FileLogger::is_listening_to_code_events ( )
inlineoverridevirtual

Reimplemented from v8::internal::LogEventListener.

Definition at line 272 of file log.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_logging()

bool v8::internal::V8FileLogger::is_logging ( )

Definition at line 1336 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LateSetup()

void v8::internal::V8FileLogger::LateSetup ( Isolate * isolate)

Definition at line 2355 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LeaveExternal()

static void v8::internal::V8FileLogger::LeaveExternal ( Isolate * isolate)
static

◆ LogAccessorCallbacks()

void v8::internal::V8FileLogger::LogAccessorCallbacks ( )

Definition at line 2210 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LogAllMaps()

void v8::internal::V8FileLogger::LogAllMaps ( )

Definition at line 2238 of file log.cc.

Here is the call graph for this function:

◆ LogBuiltins()

void v8::internal::V8FileLogger::LogBuiltins ( )

Definition at line 2208 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LogCodeDisassemble()

void v8::internal::V8FileLogger::LogCodeDisassemble ( DirectHandle< AbstractCode > code)
private

Definition at line 1478 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LogCodeObjects()

void v8::internal::V8FileLogger::LogCodeObjects ( )

Definition at line 2196 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LogCompiledFunctions()

void v8::internal::V8FileLogger::LogCompiledFunctions ( bool ensure_source_positions_available = true)

Definition at line 2203 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LogExistingFunction()

void v8::internal::V8FileLogger::LogExistingFunction ( DirectHandle< SharedFunctionInfo > shared,
DirectHandle< AbstractCode > code )

Definition at line 2198 of file log.cc.

Here is the call graph for this function:

◆ logger()

Logger * v8::internal::V8FileLogger::logger ( ) const
private

Definition at line 2486 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LogSourceCodeInformation()

void v8::internal::V8FileLogger::LogSourceCodeInformation ( DirectHandle< AbstractCode > code,
DirectHandle< SharedFunctionInfo > shared )
private

Definition at line 1410 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MapCreate()

void v8::internal::V8FileLogger::MapCreate ( Tagged< Map > map)

Definition at line 2058 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MapDetails()

void v8::internal::V8FileLogger::MapDetails ( Tagged< Map > map)

Definition at line 2067 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MapEvent()

void v8::internal::V8FileLogger::MapEvent ( const char * type,
DirectHandle< Map > from,
DirectHandle< Map > to,
const char * reason = nullptr,
DirectHandle< HeapObject > name_or_sfi = DirectHandle<HeapObject>() )

Definition at line 2026 of file log.cc.

Here is the call graph for this function:

◆ MapMoveEvent()

void v8::internal::V8FileLogger::MapMoveEvent ( Tagged< Map > from,
Tagged< Map > to )

Definition at line 2082 of file log.cc.

Here is the call graph for this function:

◆ MoveEventInternal()

void v8::internal::V8FileLogger::MoveEventInternal ( Event event,
Address from,
Address to )
private

Definition at line 1805 of file log.cc.

Here is the caller graph for this function:

◆ NativeContextMoveEvent()

void v8::internal::V8FileLogger::NativeContextMoveEvent ( Address from,
Address to )
inlineoverridevirtual

Implements v8::internal::LogEventListener.

Definition at line 203 of file log.h.

◆ NewEvent()

void v8::internal::V8FileLogger::NewEvent ( const char * name,
void * object,
size_t size )

Definition at line 1349 of file log.cc.

◆ ProcessDeoptEvent()

void v8::internal::V8FileLogger::ProcessDeoptEvent ( DirectHandle< Code > code,
SourcePosition position,
const char * kind,
const char * reason )

Definition at line 1712 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProfilerBeginEvent()

void v8::internal::V8FileLogger::ProfilerBeginEvent ( )
private

Definition at line 1262 of file log.cc.

◆ RegExpCodeCreateEvent()

void v8::internal::V8FileLogger::RegExpCodeCreateEvent ( DirectHandle< AbstractCode > code,
DirectHandle< String > source,
RegExpFlags flags )
overridevirtual

Implements v8::internal::LogEventListener.

Definition at line 1663 of file log.cc.

Here is the call graph for this function:

◆ RuntimeCallTimerEvent()

void v8::internal::V8FileLogger::RuntimeCallTimerEvent ( )
private

Definition at line 1959 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sampler()

sampler::Sampler * v8::internal::V8FileLogger::sampler ( )

Definition at line 2437 of file log.cc.

Here is the caller graph for this function:

◆ ScriptDetails()

void v8::internal::V8FileLogger::ScriptDetails ( Tagged< Script > script)

Definition at line 1905 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ScriptEvent()

void v8::internal::V8FileLogger::ScriptEvent ( ScriptEventType type,
int script_id )

Definition at line 1876 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetCodeEventHandler()

void v8::internal::V8FileLogger::SetCodeEventHandler ( uint32_t options,
JitCodeEventHandler event_handler )

Definition at line 2413 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetterCallbackEvent()

void v8::internal::V8FileLogger::SetterCallbackEvent ( DirectHandle< Name > name,
Address entry_point )
overridevirtual

Implements v8::internal::LogEventListener.

Definition at line 1658 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetUp()

bool v8::internal::V8FileLogger::SetUp ( Isolate * isolate)

Definition at line 2298 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SharedFunctionInfoMoveEvent()

void v8::internal::V8FileLogger::SharedFunctionInfoMoveEvent ( Address from,
Address to )
overridevirtual

Implements v8::internal::LogEventListener.

Definition at line 1690 of file log.cc.

Here is the call graph for this function:

◆ SharedLibraryEnd()

void v8::internal::V8FileLogger::SharedLibraryEnd ( )

Definition at line 1302 of file log.cc.

◆ SharedLibraryEvent()

void v8::internal::V8FileLogger::SharedLibraryEvent ( const std::string & library_path,
uintptr_t start,
uintptr_t end,
intptr_t aslr_slide )

Definition at line 1290 of file log.cc.

◆ StopProfilerThread()

void v8::internal::V8FileLogger::StopProfilerThread ( )

Definition at line 2442 of file log.cc.

Here is the caller graph for this function:

◆ StringEvent()

void v8::internal::V8FileLogger::StringEvent ( const char * name,
const char * value )

Definition at line 1270 of file log.cc.

Here is the call graph for this function:

◆ TearDownAndGetLogFile()

FILE * v8::internal::V8FileLogger::TearDownAndGetLogFile ( )

Definition at line 2449 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TickEvent()

void v8::internal::V8FileLogger::TickEvent ( TickSample * sample,
bool overflow )
private

Definition at line 1971 of file log.cc.

Here is the call graph for this function:

◆ Time()

int64_t v8::internal::V8FileLogger::Time ( )
private

Definition at line 1240 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TimerEvent()

void v8::internal::V8FileLogger::TimerEvent ( v8::LogEventStatus se,
const char * name )

Definition at line 1318 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ToNativeByScript()

LogEventListener::CodeTag v8::internal::V8FileLogger::ToNativeByScript ( LogEventListener::CodeTag tag,
Tagged< Script > script )
static

Definition at line 18 of file log-inl.h.

Here is the caller graph for this function:

◆ UncheckedStringEvent()

void v8::internal::V8FileLogger::UncheckedStringEvent ( const char * name,
const char * value )
private

Definition at line 1274 of file log.cc.

Here is the caller graph for this function:

◆ UpdateIsLogging()

void v8::internal::V8FileLogger::UpdateIsLogging ( bool value)
private

Definition at line 2488 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WeakCodeClearEvent()

void v8::internal::V8FileLogger::WeakCodeClearEvent ( )
inlineoverridevirtual

Implements v8::internal::LogEventListener.

Definition at line 214 of file log.h.

◆ WriteApiEntryCall()

void v8::internal::V8FileLogger::WriteApiEntryCall ( const char * name)
private

◆ WriteApiIndexedPropertyAccess()

void v8::internal::V8FileLogger::WriteApiIndexedPropertyAccess ( const char * tag,
Tagged< JSObject > holder,
uint32_t index )
private

◆ WriteApiNamedPropertyAccess()

void v8::internal::V8FileLogger::WriteApiNamedPropertyAccess ( const char * tag,
Tagged< JSObject > holder,
Tagged< Object > name )
private

◆ WriteApiObjectAccess()

void v8::internal::V8FileLogger::WriteApiObjectAccess ( const char * tag,
Tagged< JSReceiver > obj )
private

◆ WriteApiSecurityCheck()

void v8::internal::V8FileLogger::WriteApiSecurityCheck ( )
private

Friends And Related Symbol Documentation

◆ Profiler

friend class Profiler
friend

Definition at line 362 of file log.h.

Member Data Documentation

◆ existing_code_logger_

ExistingCodeLogger v8::internal::V8FileLogger::existing_code_logger_
private

Definition at line 385 of file log.h.

◆ is_initialized_

bool v8::internal::V8FileLogger::is_initialized_
private

Definition at line 383 of file log.h.

◆ is_logging_

std::atomic<bool> v8::internal::V8FileLogger::is_logging_
private

Definition at line 364 of file log.h.

◆ isolate_

Isolate* v8::internal::V8FileLogger::isolate_
private

Definition at line 351 of file log.h.

◆ jit_logger_

std::unique_ptr<JitLogger> v8::internal::V8FileLogger::jit_logger_
private

Definition at line 371 of file log.h.

◆ kNext

const LogSeparator v8::internal::V8FileLogger::kNext = LogSeparator::kSeparator
static

Definition at line 122 of file log.h.

◆ ll_logger_

std::unique_ptr<LowLevelLogger> v8::internal::V8FileLogger::ll_logger_
private

Definition at line 370 of file log.h.

◆ log_file_

std::unique_ptr<LogFile> v8::internal::V8FileLogger::log_file_
private

Definition at line 365 of file log.h.

◆ logged_source_code_

std::set<int> v8::internal::V8FileLogger::logged_source_code_
private

Definition at line 378 of file log.h.

◆ next_source_info_id_

uint32_t v8::internal::V8FileLogger::next_source_info_id_ = 0
private

Definition at line 379 of file log.h.

◆ profiler_

std::unique_ptr<Profiler> v8::internal::V8FileLogger::profiler_
private

Definition at line 359 of file log.h.

◆ ticker_

std::unique_ptr<Ticker> v8::internal::V8FileLogger::ticker_
private

Definition at line 354 of file log.h.

◆ timer_

base::ElapsedTimer v8::internal::V8FileLogger::timer_
private

Definition at line 387 of file log.h.


The documentation for this class was generated from the following files: