Returns the address of the actual object that anObject
references. Note that, with the exception of fixed objects
this address is only valid until the next garbage collection;
thus it's pretty risky to count on the address returned by
this method for very long.
addressOfOOP: anObject
Returns the address of the OOP (object table slot) for anObject.
The address is an Integer and will not change over time (i.e. is
immune from garbage collector action) except if the virtual machine
is stopped and restarted.
bigObjectThreshold
Answer the smallest size for objects that are allocated outside
the main heap in the hope of providing more locality of reference
between small objects.
bigObjectThreshold: bytes
Set the smallest size for objects that are allocated outside
the main heap in the hope of providing more locality of reference
between small objects. bytes must be a positive SmallInteger.
compact
Force a full garbage collection, including compaction of oldspace
finishIncrementalGC
Do a step in the incremental garbage collection.
gcMessage
Answer whether messages indicating that garbage collection is taking
place are printed on stdout
gcMessage: aBoolean
Set whether messages indicating that garbage collection is taking
place are printed on stdout
globalGarbageCollect
Force a full garbage collection
growThresholdPercent
Answer the percentage of the amount of memory used by the system grows
which has to be full for the system to allocate more memory
growThresholdPercent: growPercent
Set the percentage of the amount of memory used by the system grows
which has to be full for the system to allocate more memory
growTo: numBytes
Grow the amount of memory used by the system grows to numBytes.
incrementalGCStep
Do a step in the incremental garbage collection.
quit
Quit the Smalltalk environment. Whether files are closed and
other similar cleanup occurs depends on the platform
quit: exitStatus
Quit the Smalltalk environment, passing the exitStatus integer
to the OS. Files are closed and other similar cleanups occur.
scavenge
Force a minor garbage collection
smoothingFactor
Answer the factor (between 0 and 1) used to smooth the statistics
provided by the virtual machine about memory handling. 0 disables
updating the averages, 1 disables the smoothing (the statistics
return the last value).
smoothingFactor: rate
Set the factor (between 0 and 1) used to smooth the statistics
provided by the virtual machine about memory handling. 0 disables
updating the averages, 1 disables the smoothing (the statistics
return the last value).
spaceGrowRate
Answer the rate with which the amount of memory used by the system grows
spaceGrowRate: rate
Set the rate with which the amount of memory used by the system grows