V8Runtime Class |
Namespace: Microsoft.ClearScript.V8
The V8Runtime type exposes the following members.
Name | Description | |
---|---|---|
![]() | V8Runtime |
Initializes a new V8 runtime instance.
|
![]() | V8Runtime(String) |
Initializes a new V8 runtime instance with the specified name.
|
![]() | V8Runtime(V8RuntimeConstraints) |
Initializes a new V8 runtime instance with the specified resource constraints.
|
![]() | V8Runtime(V8RuntimeFlags) |
Initializes a new V8 runtime instance with the specified options.
|
![]() | V8Runtime(String, V8RuntimeConstraints) |
Initializes a new V8 runtime instance with the specified name and resource constraints.
|
![]() | V8Runtime(String, V8RuntimeFlags) |
Initializes a new V8 runtime instance with the specified name and options.
|
![]() | V8Runtime(V8RuntimeConstraints, V8RuntimeFlags) |
Initializes a new V8 runtime instance with the specified resource constraints and options.
|
![]() | V8Runtime(V8RuntimeFlags, Int32) |
Initializes a new V8 runtime instance with the specified options and debug port.
|
![]() | V8Runtime(String, V8RuntimeConstraints, V8RuntimeFlags) |
Initializes a new V8 runtime instance with the specified name, resource constraints, and options.
|
![]() | V8Runtime(String, V8RuntimeFlags, Int32) |
Initializes a new V8 runtime instance with the specified name, options, and debug port.
|
![]() | V8Runtime(V8RuntimeConstraints, V8RuntimeFlags, Int32) |
Initializes a new V8 runtime instance with the specified resource constraints, options, and debug port.
|
![]() | V8Runtime(String, V8RuntimeConstraints, V8RuntimeFlags, Int32) |
Initializes a new V8 runtime instance with the specified name, resource constraints, options, and debug port.
|
Name | Description | |
---|---|---|
![]() | CpuProfileSampleInterval |
Gets or sets the time interval between automatic CPU profile samples, in microseconds.
|
![]() | DocumentSettings |
Gets or sets the V8 runtime's document settings.
|
![]() | EnableInterruptPropagation |
Enables or disables interrupt propagation in the V8 runtime.
|
![]() | FormatCode |
Enables or disables script code formatting.
|
![]() | HeapSizeSampleInterval |
Gets or sets the minimum time interval between consecutive heap size samples.
|
![]() | MaxHeapSize |
Gets or sets a soft limit for the size of the V8 runtime's heap.
|
![]() | MaxStackUsage |
Gets or sets the maximum amount by which the stack is permitted to grow during script execution.
|
![]() | Name |
Gets the name associated with the V8 runtime instance.
|
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.
|