5#ifndef V8_LOGGING_LOG_FILE_H_
6#define V8_LOGGING_LOG_FILE_H_
65 std::optional<int> length_limit = std::nullopt);
68 void AppendString(
const char* str,
size_t length,
bool is_one_byte =
true);
93 FormatStringIntoBuffer(const
char* format, va_list
args);
97 void PRINTF_FORMAT(2, 3) AppendRawFormatString(const
char* format, ...);
void void AppendRawString(const char *format)
void AppendSymbolName(Tagged< Symbol > symbol)
void AppendSymbolNameDetails(Tagged< String > str, bool show_impl_info)
void void AppendCharacter(char c)
NoGarbageCollectionMutexGuard lock_guard_
MessageBuilder(LogFile *log)
int PRINTF_FORMAT(2, 0) FormatStringIntoBuffer(const char *format
void PRINTF_FORMAT(2, 3) AppendFormatString(const char *format
void AppendString(Tagged< String > str, std::optional< int > length_limit=std::nullopt)
~MessageBuilder()=default
void AppendRawCharacter(const char character)
void AppendTwoByteCharacter(char c1, char c2)
LogFile(V8FileLogger *logger, std::string log_file_name)
static FILE * CreateOutputHandle(std::string file_name)
static V8_EXPORT_PRIVATE bool IsLoggingToTemporaryFile(std::string file_name)
std::unique_ptr< LogFile::MessageBuilder > NewMessageBuilder()
std::unique_ptr< char[]> format_buffer_
std::string file_name() const
static V8_EXPORT_PRIVATE bool IsLoggingToConsole(std::string file_name)
static const char *const kLogToConsole
static const int kMessageBufferSize
static V8_EXPORT_PRIVATE const char *const kLogToTemporaryFile
BUILTIN_FP_CALL BUILTIN_FP_CALL BUILTIN_FP_CALL BUILTIN_FP_CALL BUILTIN_FP_CALL BUILTIN_FP_CALL BUILTIN_FP_CALL BUILTIN_FP_CALL BUILTIN_FP_CALL BUILTIN_FP_CALL int character
too high values may cause the compiler to set high thresholds for inlining to as much as possible avoid inlined allocation of objects that cannot escape trace load stores from virtual maglev objects use TurboFan fast string builder analyze liveness of environment slots and zap dead values trace TurboFan load elimination emit data about basic block usage in builtins to this enable builtin reordering when run mksnapshot flag for emit warnings when applying builtin profile data verify register allocation in TurboFan randomly schedule instructions to stress dependency tracking enable store store elimination in TurboFan rewrite far to near simulate GC compiler thread race related to allow float parameters to be passed in simulator mode JS Wasm Run additional turbo_optimize_inlined_js_wasm_wrappers enable experimental feedback collection in generic lowering enable Turboshaft s WasmLoadElimination enable Turboshaft s low level load elimination for JS enable Turboshaft s escape analysis for string concatenation use enable Turbolev features that we want to ship in the not too far future trace individual Turboshaft reduction steps trace intermediate Turboshaft reduction steps invocation count threshold for early optimization Enables optimizations which favor memory size over execution speed Enables sampling allocation profiler with X as a sample interval min size of a semi the new space consists of two semi spaces max size of the Collect garbage after Collect garbage after keeps maps alive for< n > old space garbage collections print one detailed trace line in name
template const char * string
#define PRINTF_FORMAT(format_param, dots_param)
#define V8_EXPORT_PRIVATE