Miscellaneous
The virtual machine provides the following miscellaneous functions.
U_32 EsVMVersion(void)
Returns the major and minor version numbers of the running virtual machine. To extract the major and minor version numbers from the return value:
U_32 versionNumber;
U_16 versionMajor;
U_16 versionMinor;
versionNumber = EsVMVersion();
versionMajor = versionNumber >> 16;
versionMinor = versionNumber & 0xFFFF;
The minor version number should be interpreted as a two-digit decimal number. For example, version 1.21 of the interpreter has minor version 21. Version 1.3 has minor version 30. Both have a major version of 1.

void EsScavenge(EsVMContext vmContext, U_32 bytesRequired)
Causes the scavenger (a part of the garbage collector) to run once.
Smalltalk equivalent: System scavenge

void EsGGC(EsVMContext vmContext, U_32 bytesRequired)
Causes the global garbage collector to run once.
Smalltalk equivalent: System globalGarbageCollect
Last modified date: 01/29/2015