Constructor.
Class for parking elements
Get new element
delete element
Park elements
Stores the size of a single allocated element.
Gets or allocates an object
Performs the actual allocation of an object
Recycles or deletes an object that is no longer used.
Performs the actual recycling of an object. See recycle() documentation.
Return the amount of memory currently used.
Helper class to temprarily park a certain number of objects.
Calls dg with an IParkingStack instance that is set up to keep n elements.
Implements a malloc based BucketElement Allactor.
By default the class constructor checks the type of the Bucket elements (i.e, the values stored in the Map). If the element contains reference items (e.g class or an array) then on malloc allocations the class adds the elements to the GC scan range and removes them from the GC scan range on recycling.
This tracking of the objects can be explicitly disabled through passing the appropriate flag to the class constructor.