5#ifndef INCLUDE_V8_ISOLATE_CALLBACKS_H_
6#define INCLUDE_V8_ISOLATE_CALLBACKS_H_
20struct _EXCEPTION_POINTERS;
26class FunctionCallbackInfo;
156 "Use kGCTypeMinorMarkSweep instead of kGCTypeMinorMarkCompact.") =
202 size_t initial_heap_limit);
207#if defined(V8_OS_WIN)
208using UnhandledExceptionCallback =
209 int (*)(_EXCEPTION_POINTERS* exception_pointers);
421#if defined(V8_OS_WIN)
456using FilterETWSessionByURLCallback =
457 bool (*)(
Local<Context> context,
const std::string& etw_filter_payload);
bool(*)(Local< Context > context) WasmJSPIEnabledCallback
void(*)(const char *name, int status) LogEventCallback
bool(*)(const FunctionCallbackInfo< Value > &) ExtensionCallback
void(*)(Local< Message > message, Local< Value > data) MessageCallback
void(*)(CrashKeyId id, const std::string &value) AddCrashKeyCallback
bool(*)(Local< Context > context, Local< String > source) AllowWasmCodeGenerationCallback
bool(*)(Local< Context > context) JavaScriptCompileHintsMagicEnabledCallback
ModifyCodeGenerationFromStringsResult(*)(Local< Context > context, Local< Value > source, bool is_code_like) ModifyCodeGenerationFromStringsCallback2
@ kGCCallbackFlagSynchronousPhantomCallbackProcessing
@ kGCCallbackFlagConstructRetainedObjectInfos
@ kGCCallbackFlagCollectAllExternalMemory
@ kGCCallbackFlagCollectAllAvailableGarbage
@ kGCCallbackScheduleIdleGarbageCollection
void(*)(Isolate *) CallCompletedCallback
void(*)(GCType type, GCCallbackFlags flags) GCCallback
bool(*)(Local< Context > context) WasmImportedStringsEnabledCallback
size_t(*)(void *data, size_t current_heap_limit, size_t initial_heap_limit) NearHeapLimitCallback
@ kGCTypeProcessWeakCallbacks
@ kGCTypeIncrementalMarking
@ kGCTypeMarkSweepCompact
@ kJitCodeEventEnumExisting
void(*)(Local< Object > target, AccessType type, Local< Value > data) FailedAccessCheckCallback
void(*)(Isolate *isolate, void *data) InterruptCallback
bool(*)(Local< Context > context) SharedArrayBufferConstructorEnabledCallback
void(*)(const FunctionCallbackInfo< Value > &) ApiImplementationCallback
void(*)(const FunctionCallbackInfo< Value > &) WasmStreamingCallback
void(*)(const char *location, const char *message) FatalErrorCallback
void(*)(const char *location, const OOMDetails &details) OOMErrorCallback
bool(*)(Local< Context > context, Local< String > source) AllowCodeGenerationFromStringsCallback
ModifyCodeGenerationFromStringsResult(*)(Local< Context > context, Local< Value > source) ModifyCodeGenerationFromStringsCallback
void(*)(Isolate *isolate, Local< Context > context, Local< Promise::Resolver > resolver, Local< Value > result, WasmAsyncSuccess success) WasmAsyncResolvePromiseCallback
void(*)(Isolate *) BeforeCallEnteredCallback
void(*)(void *histogram, int sample) AddHistogramSampleCallback
bool(*)(int, void *) CompileHintCallback
int *(*)(const char *name) CounterLookupCallback
@ kSnapshotChecksumCalculated
@ kCodeSpaceFirstPageAddress
@ kOldSpaceFirstPageAddress
@ kReadonlySpaceFirstPageAddress
@ kSnapshotChecksumExpected
void(*)(Local< Context > context, Local< Module > module, Local< Object > meta) HostInitializeImportMetaObjectCallback
void *(*)(const char *name, int min, int max, size_t buckets) CreateHistogramCallback
void(*)(const JitCodeEvent *event) JitCodeEventHandler
PositionType position_type
const line_info_t * line_number_table
size_t line_number_table_size
@ CODE_START_LINE_INFO_RECORDING
@ CODE_END_LINE_INFO_RECORDING
Local< UnboundScript > script
struct line_info_t line_info
wasm_source_info_t * wasm_source_info
MaybeLocal< String > modified_source