Searched refs:bytes_to_trim (Results 1 – 1 of 1) sorted by relevance
3127 const int bytes_to_trim = elements_to_trim * element_size; in LeftTrimFixedArray() local3144 Address new_start = object->address() + bytes_to_trim; in LeftTrimFixedArray()3149 CreateFillerObjectAt(object->address(), bytes_to_trim); in LeftTrimFixedArray()3164 AdjustLiveBytes(new_object, -bytes_to_trim, Heap::CONCURRENT_TO_SWEEPER); in LeftTrimFixedArray()3185 int bytes_to_trim; in RightTrimFixedArray() local3188 bytes_to_trim = in RightTrimFixedArray()3193 bytes_to_trim = ByteArray::SizeFor(len) - new_size; in RightTrimFixedArray()3194 DCHECK_GE(bytes_to_trim, 0); in RightTrimFixedArray()3198 bytes_to_trim = elements_to_trim * element_size; in RightTrimFixedArray()3205 if (bytes_to_trim == 0) { in RightTrimFixedArray()[all …]