Click or drag to resize

V8Runtime Methods

The V8Runtime type exposes the following members.

Methods
 NameDescription
Public methodBeginCpuProfile(String) Begins collecting a new CPU profile.
Public methodBeginCpuProfile(String, V8CpuProfileFlags) Begins collecting a new CPU profile with the specified options.
Public methodCollectCpuProfileSample Collects a sample in all CPU profiles active in the V8 runtime.
Public methodCollectGarbage Performs garbage collection.
Public methodCompile(String) Creates a compiled script.
Public methodCompile(DocumentInfo, String) Creates a compiled script with the specified document meta-information.
Public methodCompile(String, String) Creates a compiled script with an associated document name.
Public methodCompile(String, V8CacheKind, Byte) Creates a compiled script, generating cache data for accelerated recompilation.
Public methodCompile(DocumentInfo, String, V8CacheKind, Byte) Creates a compiled script with the specified document meta-information, generating cache data for accelerated recompilation.
Public methodCompile(String, V8CacheKind, Byte, Boolean) Creates a compiled script, consuming previously generated cache data.
Public methodCompile(String, V8CacheKind, Byte, V8CacheResult) Creates a compiled script, consuming previously generated cache data and updating it if necessary.
Public methodCompile(String, String, V8CacheKind, Byte) Creates a compiled script with an associated document name, generating cache data for accelerated recompilation.
Public methodCompile(DocumentInfo, String, V8CacheKind, Byte, Boolean) Creates a compiled script with the specified document meta-information, consuming previously generated cache data.
Public methodCompile(DocumentInfo, String, V8CacheKind, Byte, V8CacheResult) Creates a compiled script with the specified document meta-information, consuming previously generated cache data and updating it if necessary.
Public methodCompile(String, String, V8CacheKind, Byte, Boolean) Creates a compiled script with an associated document name, consuming previously generated cache data.
Public methodCompile(String, String, V8CacheKind, Byte, V8CacheResult) Creates a compiled script with an associated document name, consuming previously generated cache data and updating it if necessary.
Public methodCompileDocument(String) Loads and compiles a script document.
Public methodCompileDocument(String, DocumentCategory) Loads and compiles a document with the specified category.
Public methodCompileDocument(String, DocumentCategory, DocumentContextCallback) Loads and compiles a document with the specified category and context callback.
Public methodCompileDocument(String, V8CacheKind, Byte) Loads and compiles a script document, generating cache data for accelerated recompilation.
Public methodCompileDocument(String, DocumentCategory, V8CacheKind, Byte) Loads and compiles a document with the specified category, generating cache data for accelerated recompilation.
Public methodCompileDocument(String, V8CacheKind, Byte, Boolean) Loads and compiles a script document, consuming previously generated cache data.
Public methodCompileDocument(String, V8CacheKind, Byte, V8CacheResult) Loads and compiles a script document, consuming previously generated cache data and updating it if necessary.
Public methodCompileDocument(String, DocumentCategory, DocumentContextCallback, V8CacheKind, Byte) Loads and compiles a document with the specified category and context callback, generating cache data for accelerated recompilation.
Public methodCompileDocument(String, DocumentCategory, V8CacheKind, Byte, Boolean) Loads and compiles a document with the specified category, consuming previously generated cache data.
Public methodCompileDocument(String, DocumentCategory, V8CacheKind, Byte, V8CacheResult) Loads and compiles a document with the specified category, consuming previously generated cache data and updating it if necessary.
Public methodCompileDocument(String, DocumentCategory, DocumentContextCallback, V8CacheKind, Byte, Boolean) Loads and compiles a document with the specified category and context callback, consuming previously generated cache data.
Public methodCompileDocument(String, DocumentCategory, DocumentContextCallback, V8CacheKind, Byte, V8CacheResult) Loads and compiles a document with the specified category and context callback, consuming previously generated cache data and updating it if necessary.
Public methodCreateScriptEngine Creates a new V8 script engine instance.
Public methodCreateScriptEngine(String) Creates a new V8 script engine instance with the specified name.
Public methodCreateScriptEngine(V8ScriptEngineFlags) Creates a new V8 script engine instance with the specified options.
Public methodCreateScriptEngine(String, V8ScriptEngineFlags) Creates a new V8 script engine instance with the specified name and options.
Public methodCreateScriptEngine(V8ScriptEngineFlags, Int32) Creates a new V8 script engine instance with the specified options and debug port.
Public methodCreateScriptEngine(String, V8ScriptEngineFlags, Int32) Creates a new V8 script engine instance with the specified name, options, and debug port.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEndCpuProfile Completes and returns a CPU profile.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetHeapInfo Returns memory usage information.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWriteHeapSnapshot Writes a heap snapshot to the given stream.
Top
See Also