Skip to content

[WIP] [GR-79669] Support configurable context preinitialization for explicit engines - #14788

Open
graalvmbot wants to merge 2 commits into
masterfrom
chumer/GR-79669/preinitialized-engine
Open

graalvmbot wants to merge 2 commits into
masterfrom
chumer/GR-79669/preinitialized-engine

Conversation

@graalvmbot

Copy link
Copy Markdown
Collaborator

Adds explicit engine preinitialization via Engine.Builder.preinitialize(int, Consumer<Engine>) and one-shot consumption via Engine.newBuilder(Engine.Preinitialized). Prepared engines retain shared language state, cached sources and parsed code, and a configurable pool of clean contexts for runtime reuse.

Initialized instruments can opt into retention through TruffleInstrument.onPreinitialize(Env). The debugger supports retention when it has no active sessions.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 27, 2026

This branch has not been deployed

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

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants