Skip to content

[Epic] Upgrade Spector to JDK 27 & Harness Next-Generation JVM Capabilities #802

Description

@novaspectrayan

Executive Summary & Strategic Rationale

Spector currently operates on Java 25 with incubator Vector API and preview structured concurrency. JDK 27 reaches General Availability on 2026-09-15 (feature set frozen; RC).

This epic was originally scoped to JDK 26. After JEP review (26 vs 27), we are retargeting the production baseline and feature work to JDK 27 and waiting ~one week for GA rather than landing on JDK 26 (non-LTS; Premier support ends ~2026-09-18).

Full architectural specification: RND-2026-022 (to be revised for JDK 27 naming/JEPs).


Decision (2026-09-10)


Sub-Issues & Roadmap


Key Benefits for Spector

  1. HTTP/3 QUIC Transport (JEP 517): Eliminates head-of-line blocking for token streaming and embedding generation over lossy/flaky agent network links.
  2. Lazy Constants (JEP 531): HotSpot C2 constant-folding for SIMD species, CUDA kernels, and provider lookups with zero memory barrier overhead.
  3. Valhalla-Readiness & Compact Object Headers (JEP 519 / default in 27 via JEP 534): 15%–30% heap reduction across large memory graphs and vector indices.
  4. Sub-120ms MCP Cold Boot with ZGC (JEP 516): GC-agnostic AOT caching enables instant MCP server startup without giving up low ZGC pause times.
  5. Structured Concurrency (JEP 533): Timeout/SLA fan-out via Joiner.timeout() (not the JDK 26 onTimeout name).

Success Criteria

  • Clean build and test execution across all modules on JDK 27 (mvn clean test).
  • All sub-issues implemented, tested, and verified against JDK 27 APIs.
  • CI/CD pipeline and release packaging running on JDK 27.
  • Preview features documented with --enable-preview (and incubator modules where required).

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

    jdk-upgradeJDK upgrade and next-gen JVM modernization taskspriority:p1Importanttype:featureNew feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions