V8Runtime Methods |
The V8Runtime type exposes the following members.
Name | Description | |
---|---|---|
![]() | BeginCpuProfile(String) |
Begins collecting a new CPU profile.
|
![]() | BeginCpuProfile(String, V8CpuProfileFlags) |
Begins collecting a new CPU profile with the specified options.
|
![]() | CollectCpuProfileSample |
Collects a sample in all CPU profiles active in the V8 runtime.
|
![]() | CollectGarbage |
Performs garbage collection.
|
![]() | Compile(String) |
Creates a compiled script.
|
![]() | Compile(DocumentInfo, String) |
Creates a compiled script with the specified document meta-information.
|
![]() | Compile(String, String) |
Creates a compiled script with an associated document name.
|
![]() | Compile(String, V8CacheKind, Byte) |
Creates a compiled script, generating cache data for accelerated recompilation.
|
![]() | Compile(DocumentInfo, String, V8CacheKind, Byte) |
Creates a compiled script with the specified document meta-information, generating cache data for accelerated recompilation.
|
![]() | Compile(String, V8CacheKind, Byte, Boolean) |
Creates a compiled script, consuming previously generated cache data.
|
![]() | Compile(String, String, V8CacheKind, Byte) |
Creates a compiled script with an associated document name, generating cache data for accelerated recompilation.
|
![]() | Compile(DocumentInfo, String, V8CacheKind, Byte, Boolean) |
Creates a compiled script with the specified document meta-information, consuming previously generated cache data.
|
![]() | Compile(String, String, V8CacheKind, Byte, Boolean) |
Creates a compiled script with an associated document name, consuming previously generated cache data.
|
![]() | CompileDocument(String) |
Loads and compiles a script document.
|
![]() | CompileDocument(String, DocumentCategory) |
Loads and compiles a document with the specified category.
|
![]() | CompileDocument(String, DocumentCategory, DocumentContextCallback) |
Loads and compiles a document with the specified category and context callback.
|
![]() | CompileDocument(String, V8CacheKind, Byte) |
Loads and compiles a script document, generating cache data for accelerated recompilation.
|
![]() | CompileDocument(String, DocumentCategory, V8CacheKind, Byte) |
Loads and compiles a document with the specified category, generating cache data for accelerated recompilation.
|
![]() | CompileDocument(String, V8CacheKind, Byte, Boolean) |
Loads and compiles a script document, consuming previously generated cache data.
|
![]() | CompileDocument(String, DocumentCategory, DocumentContextCallback, V8CacheKind, Byte) |
Loads and compiles a document with the specified category and context callback, generating cache data for accelerated recompilation.
|
![]() | CompileDocument(String, DocumentCategory, V8CacheKind, Byte, Boolean) |
Loads and compiles a document with the specified category, consuming previously generated cache data.
|
![]() | CompileDocument(String, DocumentCategory, DocumentContextCallback, V8CacheKind, Byte, Boolean) |
Loads and compiles a document with the specified category and context callback, consuming previously generated cache data.
|
![]() | CreateScriptEngine |
Creates a new V8 script engine instance.
|
![]() | CreateScriptEngine(String) |
Creates a new V8 script engine instance with the specified name.
|
![]() | CreateScriptEngine(V8ScriptEngineFlags) |
Creates a new V8 script engine instance with the specified options.
|
![]() | CreateScriptEngine(String, V8ScriptEngineFlags) |
Creates a new V8 script engine instance with the specified name and options.
|
![]() | CreateScriptEngine(V8ScriptEngineFlags, Int32) |
Creates a new V8 script engine instance with the specified options and debug port.
|
![]() | CreateScriptEngine(String, V8ScriptEngineFlags, Int32) |
Creates a new V8 script engine instance with the specified name, options, and debug port.
|
![]() | Dispose |
Releases all resources used by the V8 runtime.
|
![]() | EndCpuProfile |
Completes and returns a CPU profile.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetHeapInfo |
Returns memory usage information.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WriteHeapSnapshot |
Writes a heap snapshot to the given stream.
|