[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: Ulan Degenbaev <ulan@chromium.org> Cr-Commit-Position: refs/heads/master@{#62654}
This commit is contained in:
parent
b086cb7b9a
commit
03f3c8acc2
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user