Skip to content

Pointer compression and Node modules #26756

@hashseed

Description

@hashseed

V8 is fairly close to reaching a state where we can enable pointer compression. It will be a build time flag for the embedder to enable. Implications are:

  • Significant memory savings. Some experiments show 30% smaller V8 heap size, in Chrome.
  • Slightly worse performance, at least for now. We are confident that it could actually perform better.
  • Upper limit of 4GB memory, at least for now.
  • Different ABI, so Node modules for non-pointer-compressed builds are incompatible with pointer-compressed builds.

Discuss!

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussIssues opened for discussions and feedbacks.v8 engineIssues and PRs related to the V8 dependency.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions