1b17e087a8
HeapAllocator didn't fall back to old space allocation when the heap had no map space. Bug: v8:12578, chromium:1313119 Change-Id: Ic02334f42f9fb80a8a9dcf99a94a7ac16da24053 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3570423 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Dominik Inführ <dinfuehr@chromium.org> Cr-Commit-Position: refs/heads/main@{#79776}
13 lines
408 B
JavaScript
13 lines
408 B
JavaScript
// Copyright 2022 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
//
|
|
// Flags: --no-use-map-space --harmony-struct
|
|
|
|
"use strict";
|
|
|
|
// Test ensures that deserialization works without map space and
|
|
// that we can allocate maps in the shared heap.
|
|
|
|
let SomeStruct = new SharedStructType(['field1', 'field2']);
|