Techniques for managing changes in a computer system include storing,
in a storage space, undo information for removing changes that are being made by
entities. The undo information for each entity is stored in a segment of multiple
segments within the storage space. Usage of the storage space by the entities is
monitored. The number of segments in the plurality of segments or the sizes of
the plurality of segments or both are adjusted automatically based on the usage.
These techniques allow a resource to be recycled and allocated for new uses by
other entities in a computer system dynamically based on usage. These techniques
do not burden a human administrator with partitioning the resource and then penalize
the administrator and users by generating errors when the partitions do not match usage.