Description[heap] Fix PagedSpace::SizeOfObjects calling from within FreeList::Allocate
Not resetting the allocation area after freeing it potentially results in
negative SizeOfObjects() because the area is accounted for as allocated while it
has already been freed.
BUG=
Committed: https://crrev.com/f5b1409f5fa8776589d952aa71e5929cd5bbd0e1
Cr-Commit-Position: refs/heads/master@{#30928}
Patch Set 1 #
Total comments: 5
Patch Set 2 : CHECK -> DCHECK #Messages
Total messages: 13 (5 generated)
|