SimpleGC

Overview

Simple single threaded garbage collector. Used from WebAssembly.

Location


 

constructor  protected    (declared in ValueType)

 

constructor

 

SimpleGC()

 

init()

 

SimpleGC()

 

Sub New()

constructor Copy(SimpleGC):

 

constructor Copy(var aValue: SimpleGC)

 

SimpleGC Copy(ref SimpleGC aValue)

 

init(Copy aValue: SimpleGC)

 

SimpleGC Copy(__ref SimpleGC aValue)

 

Sub New Copy(ByRef aValue As SimpleGC)

Parameters:

  • aValue:

AddRef

 

class method AddRef(o: ^IntPtr)

 

static void AddRef(IntPtr* o)

 

static func AddRef(_ o: UnsafeMutablePointer<IntPtr>)

 

static void AddRef(IntPtr* o)

 

Shared Sub AddRef(o As Ptr(Of IntPtr))

Parameters:

  • o:

Assign

 

class method Assign(var aDest: SimpleGC; var aSource: SimpleGC)

 

static void Assign(ref SimpleGC aDest, ref SimpleGC aSource)

 

static func Assign(_ aDest: SimpleGC, _ aSource: SimpleGC)

 

static void Assign(__ref SimpleGC aDest, __ref SimpleGC aSource)

 

Shared Sub Assign(ByRef aDest As SimpleGC, ByRef aSource As SimpleGC)

Parameters:

  • aDest:
  • aSource:

Copy

 

class method Copy(var aDest: SimpleGC; var aSource: SimpleGC)

 

static void Copy(ref SimpleGC aDest, ref SimpleGC aSource)

 

static func Copy(_ aDest: SimpleGC, _ aSource: SimpleGC)

 

static void Copy(__ref SimpleGC aDest, __ref SimpleGC aSource)

 

Shared Sub Copy(ByRef aDest As SimpleGC, ByRef aSource As SimpleGC)

Parameters:

  • aDest:
  • aSource:

Equals  virtual    (declared in Object)

Default constructor.

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

ForceAddRef

 

class method ForceAddRef(ptr: IntPtr)

 

static void ForceAddRef(IntPtr ptr)

 

static func ForceAddRef(_ ptr: IntPtr)

 

static void ForceAddRef(IntPtr ptr)

 

Shared Sub ForceAddRef(ptr As IntPtr)

Parameters:

  • ptr:

ForceRelease

 

class method ForceRelease(ptr: IntPtr)

 

static void ForceRelease(IntPtr ptr)

 

static func ForceRelease(_ ptr: IntPtr)

 

static void ForceRelease(IntPtr ptr)

 

Shared Sub ForceRelease(ptr As IntPtr)

Parameters:

  • ptr:

GC

 

class method GC(aWait: Boolean)

 

static void GC(Boolean aWait)

 

static func GC(_ aWait: Boolean)

 

static void GC(Boolean aWait)

 

Shared Sub GC(aWait As Boolean)

Parameters:

  • aWait:

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

Init

 

class method Init(var Dest: SimpleGC)

 

static void Init(ref SimpleGC Dest)

 

static func Init(_ Dest: SimpleGC)

 

static void Init(__ref SimpleGC Dest)

 

Shared Sub Init(ByRef Dest As SimpleGC)

Parameters:

  • Dest:

New

 

class method New(aTTY: ^void; aSize: IntPtr): ^void

 

static void* New(void* aTTY, IntPtr aSize)

 

static func New(_ aTTY: UnsafeMutablePointer<void>, _ aSize: IntPtr) -> UnsafeMutablePointer<void>

 

static void* New(void* aTTY, IntPtr aSize)

 

Shared Function New(aTTY As Ptr(Of Void), aSize As IntPtr) As Ptr(Of Void)

Parameters:

  • aTTY:
  • aSize:

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

RegisterThread

 

class method RegisterThread: Int32

 

static Int32 RegisterThread()

 

static func RegisterThread() -> Int32

 

static Int32 RegisterThread()

 

Shared Function RegisterThread() As Int32

Release (^IntPtr)

 

class method Release(o: ^IntPtr)

 

static void Release(IntPtr* o)

 

static func Release(_ o: UnsafeMutablePointer<IntPtr>)

 

static void Release(IntPtr* o)

 

Shared Sub Release(o As Ptr(Of IntPtr))

Parameters:

  • o:

Release (SimpleGC)

 

class method Release(var aDest: SimpleGC)

 

static void Release(ref SimpleGC aDest)

 

static func Release(_ aDest: SimpleGC)

 

static void Release(__ref SimpleGC aDest)

 

Shared Sub Release(ByRef aDest As SimpleGC)

Parameters:

  • aDest:

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

UnregisterThread

 

class method UnregisterThread: Int32

 

static Int32 UnregisterThread()

 

static func UnregisterThread() -> Int32

 

static Int32 UnregisterThread()

 

Shared Function UnregisterThread() As Int32

 

AddRef

 

class method AddRef(o: ^IntPtr)

 

static void AddRef(IntPtr* o)

 

static func AddRef(_ o: UnsafeMutablePointer<IntPtr>)

 

static void AddRef(IntPtr* o)

 

Shared Sub AddRef(o As Ptr(Of IntPtr))

Parameters:

  • o:

Assign

 

class method Assign(var aDest: SimpleGC; var aSource: SimpleGC)

 

static void Assign(ref SimpleGC aDest, ref SimpleGC aSource)

 

static func Assign(_ aDest: SimpleGC, _ aSource: SimpleGC)

 

static void Assign(__ref SimpleGC aDest, __ref SimpleGC aSource)

 

Shared Sub Assign(ByRef aDest As SimpleGC, ByRef aSource As SimpleGC)

Parameters:

  • aDest:
  • aSource:

Copy

 

class method Copy(var aDest: SimpleGC; var aSource: SimpleGC)

 

static void Copy(ref SimpleGC aDest, ref SimpleGC aSource)

 

static func Copy(_ aDest: SimpleGC, _ aSource: SimpleGC)

 

static void Copy(__ref SimpleGC aDest, __ref SimpleGC aSource)

 

Shared Sub Copy(ByRef aDest As SimpleGC, ByRef aSource As SimpleGC)

Parameters:

  • aDest:
  • aSource:

ForceAddRef

 

class method ForceAddRef(ptr: IntPtr)

 

static void ForceAddRef(IntPtr ptr)

 

static func ForceAddRef(_ ptr: IntPtr)

 

static void ForceAddRef(IntPtr ptr)

 

Shared Sub ForceAddRef(ptr As IntPtr)

Parameters:

  • ptr:

ForceRelease

 

class method ForceRelease(ptr: IntPtr)

 

static void ForceRelease(IntPtr ptr)

 

static func ForceRelease(_ ptr: IntPtr)

 

static void ForceRelease(IntPtr ptr)

 

Shared Sub ForceRelease(ptr As IntPtr)

Parameters:

  • ptr:

GC

 

class method GC(aWait: Boolean)

 

static void GC(Boolean aWait)

 

static func GC(_ aWait: Boolean)

 

static void GC(Boolean aWait)

 

Shared Sub GC(aWait As Boolean)

Parameters:

  • aWait:

Init

 

class method Init(var Dest: SimpleGC)

 

static void Init(ref SimpleGC Dest)

 

static func Init(_ Dest: SimpleGC)

 

static void Init(__ref SimpleGC Dest)

 

Shared Sub Init(ByRef Dest As SimpleGC)

Parameters:

  • Dest:

New

 

class method New(aTTY: ^void; aSize: IntPtr): ^void

 

static void* New(void* aTTY, IntPtr aSize)

 

static func New(_ aTTY: UnsafeMutablePointer<void>, _ aSize: IntPtr) -> UnsafeMutablePointer<void>

 

static void* New(void* aTTY, IntPtr aSize)

 

Shared Function New(aTTY As Ptr(Of Void), aSize As IntPtr) As Ptr(Of Void)

Parameters:

  • aTTY:
  • aSize:

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

RegisterThread

 

class method RegisterThread: Int32

 

static Int32 RegisterThread()

 

static func RegisterThread() -> Int32

 

static Int32 RegisterThread()

 

Shared Function RegisterThread() As Int32

Release (^IntPtr)

 

class method Release(o: ^IntPtr)

 

static void Release(IntPtr* o)

 

static func Release(_ o: UnsafeMutablePointer<IntPtr>)

 

static void Release(IntPtr* o)

 

Shared Sub Release(o As Ptr(Of IntPtr))

Parameters:

  • o:

Release (SimpleGC)

 

class method Release(var aDest: SimpleGC)

 

static void Release(ref SimpleGC aDest)

 

static func Release(_ aDest: SimpleGC)

 

static void Release(__ref SimpleGC aDest)

 

Shared Sub Release(ByRef aDest As SimpleGC)

Parameters:

  • aDest:

UnregisterThread

 

class method UnregisterThread: Int32

 

static Int32 UnregisterThread()

 

static func UnregisterThread() -> Int32

 

static Int32 UnregisterThread()

 

Shared Function UnregisterThread() As Int32

 

constructor  protected    (declared in ValueType)

 

constructor

 

SimpleGC()

 

init()

 

SimpleGC()

 

Sub New()

constructor Copy(SimpleGC):

 

constructor Copy(var aValue: SimpleGC)

 

SimpleGC Copy(ref SimpleGC aValue)

 

init(Copy aValue: SimpleGC)

 

SimpleGC Copy(__ref SimpleGC aValue)

 

Sub New Copy(ByRef aValue As SimpleGC)

Parameters:

  • aValue:

Equals  virtual    (declared in Object)

Default constructor.

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

 

Implements