Details
Description
During heap expansion, the sizing policy computes the expansion_amount which always returns zero when the heap is already at max_capacity. There is no need to execute the entire procedure, thus can return on checking that heap capacity is already at max.