[heap] Fix failure in VerifyNewSpaceTop with PublishPendingAllocation
VerifyNewSpaceTop() assumes that original_top_ and allocation_info_.start() always match. PublishPendingAllocations() violates this invariant by only updating original_top_ in the NewSpace. Fix this by using MarkLabStartInitialized() for NewSpace. Alternatively we could loosen the DCHECK in VerifyNewSpaceTop(). The fix doesn't matter too much since Ulan's LAB refactoring will get rid of that code anyways. Bug: v8:11224 Change-Id: I26267ac9dd78cc5d2a2a6fefca3b69f4582c094f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2569769 Commit-Queue: Georg Neis <neis@chromium.org> Reviewed-by: Hannes Payer <hpayer@chromium.org> Reviewed-by: Georg Neis <neis@chromium.org> Auto-Submit: Dominik Inführ <dinfuehr@chromium.org> Cr-Commit-Position: refs/heads/master@{#71618}
Showing
Please
register
or
sign in
to comment