Skip to content

ABI: implement stable script execution context identifiers #234

Description

@chrisbbreuer

Parent: #134
Related: #140, #163, #164

Goal

Implement the shared pinned ScriptExecutionContextIdentifier__forGlobalObject boundary with stable process-unique identifiers.

Acceptance

  • Return one stable nonzero 32-bit identifier per live global context.
  • Keep sibling realms distinct even when they share one VM, and keep repeated reads identical.
  • Allocate identifiers race-free across parallel independent context creation without reusing live IDs.
  • Return zero for a null context handle and leave VM pending-exception state unchanged on valid reads.
  • Add focused stability/sibling/parallel coverage and a compile-link-runtime fixture call.
  • Refresh Home/Bun inventories with zero unclassified symbols.
  • Update README and compatibility docs, publish small implementation/docs commits on origin/main, and close only after evidence is live.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions