Skip to content

JIT: order Class-A invalidation against shared-GC waits #456

Description

@chrisbbreuer

Parent: #433
Unblocked: #429
Child: #457

Integrate optimizer invalidation/jettison with the shared-GC stop protocol so a Class-A stop cannot publish behind a mutator waiting for collection completion. Dependent code must be invalid before mutators resume.

Acceptance

  • Serialize stop publication with shared-GC conductor/completion ordering.
  • Bump the optimizer invalidation generation inside the stop window before resume.
  • Jettison dependent tiers while native polls preserve exact resumable state and roots.
  • Prove bounded convergence under concurrent allocation/collection pressure.
  • Add poll/resume and both GC-wait-vs-Class-A normal + TSan witnesses.

Completion

Implemented by 26ef6127, 01306740, and the inherited-property prerequisite in #457. Both pinned GC-wait/Class-A executables were promoted by 3f2fe88b only after normal and TSan runs proved nonzero optimizer publication, Class-A invalidation, and cooperative collection. Final closure evidence is recorded in docs/.data/jit-concurrency-2026-07-22.md by ead94ad8.

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