Commit 03f3c8ac authored by Tobias Tebbi's avatar Tobias Tebbi Committed by Commit Bot

[gc] avoid new-space double-aligned allocations until fixed

This is a partial revert of
https://chromium-review.googlesource.com/c/v8/v8/+/1675960

Bug: v8:9472
Change-Id: I57ffc8d90a57336197cbf6ee27ebf9d1c914ec73
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1697745
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Auto-Submit: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62654}
parent b086cb7b
......@@ -300,6 +300,11 @@ RUNTIME_FUNCTION(Runtime_AllocateInYoungGeneration) {
if (!allow_large_object_allocation) {
CHECK(size <= kMaxRegularHeapObjectSize);
}
// TODO(v8:9472): Until double-aligned allocation is fixed for new-space
// allocations, don't request it.
double_align = false;
return *isolate->factory()->NewFillerObject(size, double_align,
AllocationType::kYoung);
}
......
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