object v8Mod
- Source
- v8Mod.scala
- Alphabetic
- By Inheritance
- v8Mod
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class DefaultDeserializer extends Deserializer
A subclass of
Serializerthat serializesTypedArray(in particularBuffer) andDataViewobjects as host objects, and only stores the part of their underlyingArrayBuffersthat they are referring to.A subclass of
Serializerthat serializesTypedArray(in particularBuffer) andDataViewobjects as host objects, and only stores the part of their underlyingArrayBuffersthat they are referring to.- Annotations
- @JSType() @JSImport("v8", "DefaultDeserializer") @native()
- class DefaultSerializer extends Serializer
A subclass of
Serializerthat serializesTypedArray(in particularBuffer) andDataViewobjects as host objects, and only stores the part of their underlyingArrayBuffersthat they are referring to.A subclass of
Serializerthat serializesTypedArray(in particularBuffer) andDataViewobjects as host objects, and only stores the part of their underlyingArrayBuffersthat they are referring to.- Annotations
- @JSType() @JSImport("v8", "DefaultSerializer") @native()
- class Deserializer extends Object with StObject
- Annotations
- @JSType() @JSImport("v8", "Deserializer") @native()
- trait DoesZapCodeSpaceFlag extends Object with StObject
- Annotations
- @JSType()
- trait HeapCodeStatistics extends Object with StObject
- Annotations
- @JSType() @native()
- trait HeapInfo extends Object with StObject
- Annotations
- @JSType() @native()
- trait HeapSpaceInfo extends Object with StObject
- Annotations
- @JSType() @native()
- class Serializer extends Object with StObject
- Annotations
- @JSType() @JSImport("v8", "Serializer") @native()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val ^: Any
- Annotations
- @JSImport("v8", JSImport.Namespace) @native()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cachedDataVersionTag(): Double
Returns an integer representing a "version tag" derived from the V8 version, command line flags and detected CPU features.
Returns an integer representing a "version tag" derived from the V8 version, command line flags and detected CPU features. This is useful for determining whether a vm.Script cachedData buffer is compatible with this instance of V8.
- Annotations
- @inline()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def deserialize(data: TypedArray): Any
Uses a
DefaultDeserializerwith default options to read a JS value from a buffer.Uses a
DefaultDeserializerwith default options to read a JS value from a buffer.- Annotations
- @inline()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getHeapCodeStatistics(): HeapCodeStatistics
- Annotations
- @inline()
- def getHeapSnapshot(): Readable
Generates a snapshot of the current V8 heap and returns a Readable Stream that may be used to read the JSON serialized representation.
Generates a snapshot of the current V8 heap and returns a Readable Stream that may be used to read the JSON serialized representation. This conversation was marked as resolved by joyeecheung This JSON stream format is intended to be used with tools such as Chrome DevTools. The JSON schema is undocumented and specific to the V8 engine, and may change from one version of V8 to the next.
- Annotations
- @inline()
- def getHeapSpaceStatistics(): Array[HeapSpaceInfo]
- Annotations
- @inline()
- def getHeapStatistics(): HeapInfo
- Annotations
- @inline()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def serialize(value: Any): Buffer
Uses a
DefaultSerializerto serialize value into a buffer.Uses a
DefaultSerializerto serialize value into a buffer.- Annotations
- @inline()
- def setFlagsFromString(flags: java.lang.String): Unit
- Annotations
- @inline()
- def stopCoverage(): Unit
Stops writing coverage report.
Stops writing coverage report.
- Annotations
- @inline()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def takeCoverage(): Unit
Begins writing coverage report based on the
NODE_V8_COVERAGEenv var.Begins writing coverage report based on the
NODE_V8_COVERAGEenv var. Noop is the env var is not set.- Annotations
- @inline()
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def writeHeapSnapshot(fileName: java.lang.String): java.lang.String
- Annotations
- @inline()
- def writeHeapSnapshot(): java.lang.String
- Annotations
- @inline()
- object DoesZapCodeSpaceFlag
- object HeapCodeStatistics
- object HeapInfo
- object HeapSpaceInfo
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated