DescriptionUpdate AshmemRegion::highest_allocated_chunk_ when merging free chunks.
This is a follow up of r254755 that updated the pointer to the chunk with the
highest address in the region when the highest chunk in the region was being
split (during an allocation reusing a free chunk).
While this was enough to fix the bug specified below, it was only partly
addressing the problem since this pointer also needs to be updated when free
chunks are merged. This CL fixes this issue and adds an extra DCHECK() exposing
the problem with the existing unit tests.
BUG=347919
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255691
Patch Set 1 #
Total comments: 3
Patch Set 2 : Remove unnecessary allocator instance in unit test #
Total comments: 1
Messages
Total messages: 11 (0 generated)
|