-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Open
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustache>enhancementTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra team
Description
Painless currently creates a unique classloader for every compiled script. Since Java 15 the JVM has supported hidden classes, a way to load a dynamically created class at runtime without needing a new classloader. Painless should replace it's Loader with loading a hidden class.
See apache/lucene#12873 for how Lucene did the same thing for the expressions Javascript compiler there.
ldematte
Metadata
Metadata
Assignees
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustache>enhancementTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra team