build: turn off v8_enable_shared_ro_heap flag again (#1174)

Enabling the shared read-only heap comes with a restriction that all
isolates running at the same time must be created from the same snapshot.
This is problematic for Deno, which has separate "runtime" and "typescript
compiler" snapshots, and sometimes uses them both at the same time.
This commit is contained in:
Bert Belder 2023-01-24 22:49:33 +01:00 committed by GitHub
parent 0c6b657c32
commit f7145b9828
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
.gn
View File

@ -42,4 +42,10 @@ default_args = {
# around by the garbage collector but embedders normally want them to have
# fixed addresses.
v8_typed_array_max_size_in_heap = 0
# Enabling the shared read-only heap comes with a restriction that all
# isolates running at the same time must be created from the same snapshot.
# This is problematic for Deno, which has separate "runtime" and "typescript
# compiler" snapshots, and sometimes uses them both at the same time.
v8_enable_shared_ro_heap = false
}