Skip to content

JIT: retire invalidated artifacts by execution epoch #454

Description

@chrisbbreuer

Parent: #433\nBlocks: #429\n\nReplace whole-script invalidation waits with generation-scoped executable retirement. Invalidation must close native entry and jettison tiers before resume, while prior execution leases keep only their own generation alive. Later executions must not delay reclamation of older mappings.\n\n## Acceptance\n\n- [x] Separate compilation publication leases from native execution epochs.\n- [x] Rotate the current execution epoch when invalidation begins and retire code/metadata into the old epoch.\n- [x] Reclaim an epoch immediately after its final reader exits, without waiting for later-generation readers.\n- [x] Account live, retired, and reclaimed executable bytes and artifact counts.\n- [x] Prove stale compilers cannot publish across the rotation.\n- [x] Add reader/reset and bounded memory-steady-state normal + TSan evidence.\n

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