Commit 71ce0f57 authored by Igor Sheludko's avatar Igor Sheludko Committed by V8 LUCI CQ

[heap] Remove data racy DCHECK from PagedSpaceBase::TryExpand()

Bug: v8:13235
Change-Id: Ic6509a74bb808de320734043a42c2da867c150a1
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3858301Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
Auto-Submit: Igor Sheludko <ishell@chromium.org>
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82799}
parent f03d02e2
......@@ -962,8 +962,6 @@ bool PagedSpaceBase::TryExpand(int size_in_bytes, AllocationOrigin origin) {
if (!is_compaction_space() && identity() != NEW_SPACE) {
heap()->NotifyOldGenerationExpansion(identity(), page);
}
DCHECK((CountTotalPages() > 1) ||
(static_cast<size_t>(size_in_bytes) <= free_list_->Available()));
return TryAllocationFromFreeListMain(static_cast<size_t>(size_in_bytes),
origin);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment