truncateWithFillerForNewIntegerSlotsCount

abstract fun truncateWithFillerForNewIntegerSlotsCount(newIntegerSlotsCount: Int)

Slice the current object into two objects, the left one (at the same starting address as the input), and the right one (a filler object that nobody should ever create a pointer to). The new filler can have zero post-header slots (i.e., just the header), but the left object must not, since it may turn into an indirection some day and will require at least one slot for the target pointer.

Parameters

newIntegerSlotsCount

The number of integer slots in the left object.