ExportedExternalMemory

class ExportedExternalMemory(val sourceContext: Context, val sourceMemoryIndex: Int = 0, val exportedName: String = "memory") : MemorySource(source)

Shared memory from sourceContext with index sourceMemoryIndex will be installed in the module and exported as exportedMemoryName.

Experimental hack, do not use. It is intended for using common shared memory across different GraalVM contexts, each created for its own thread.

Constructors

Link copied to clipboard
constructor(sourceContext: Context, sourceMemoryIndex: Int = 0, exportedName: String = "memory")

Properties

Link copied to clipboard
Link copied to clipboard
val sourceContext: Context
Link copied to clipboard