Skip to content

V8 Fast API Calls #38664

Closed
Closed
@TimothyGu

Description

@TimothyGu

V8 recently introduced support for fast JITed native function calls: BlinkOn talk / deps/v8/include/v8-fast-api-calls.h. There are some restrictions on what it can be used with, including

  • Must not trigger a GC event ⇒
    • No allocation on the managed heap
    • No calling back into Javascript
    • Guarded by CHECKs
  • No allocation means Blink cannot throw exceptions, log to the console, etc. These operations can be supported by recording the intent to execute them in a deferred manner.

but we may be able to find use cases for it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++Issues and PRs that require attention from people who are familiar with C++.v8 moduleIssues and PRs related to the "v8" subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions