Next: , Previous: , Up: Base classes   [Index]

1.125 ObjectMemory

Defined in namespace Smalltalk
Superclass: Object
Category: Language-Implementation

I provide a few methods that enable one to tune the virtual machine’s usage of memory. In addition, I can signal to my dependants some ‘events’ that can happen during the virtual machine’s life.

ObjectMemory has both class-side and instance-side methods. In general, class-side methods provide means to tune the parameters of the memory manager, while instance-side methods are used together with the #current class-side method to take a look at statistics on the memory manager’s state.