next up previous contents index
Next: Comparison Schemes Up: Window Class Previous: Constructors

Operations

The operation initializeObjectTable() are usually invoked by the constructor. However, the initialization must not be performed immediately after the mapping if new chunks must be placed in the region. In this case, the operation is explicitly invoked by the parent Arena.

The operation map(offset) just converts the offset to the pointer in the region and does not check whether the offset is valid or not. This operation is used through the allocation operations.

The operations grab(), release(), grabReadOnly(), and releaseReadOnly() manipulate the state of the PersistentOffset object for the specified offset in the objectTable. In failure, they return 0 or False.



Mori Tetsuya / t2y3141592@gmail.com