Skip to content

Turn v8_enable_shared_ro_heap on #1265

Closed
@ry

Description

@ry

We want to be inline with what default chrome configurations are using to reduce technical debt

rusty_v8/.gn

Lines 48 to 52 in ca83ce5

# 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

Problem: there are two snapshots in deno, the main runtime one, and the tsc one. How can we turn this on and also handle both of those? maybe don't snapshot tsc?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions