Eric Milles created GROOVY-10952:
------------------------------------
Summary: Investigate JEP 309 CONSTANT_dynamic instruction
Key: GROOVY-10952
URL: https://issues.apache.org/jira/browse/GROOVY-10952
Project: Groovy
Issue Type: Improvement
Components: bytecode, Compiler
Reporter: Eric Milles
Java 11 (default target for Groovy 5) adds {{CONSTANT_dynamic}} instruction
support: https://openjdk.org/jeps/309
Can this be used to benefit or replace {{@Lazy}} or some other Groovy
constructs?
Further discussion can be found for "JEP 309" on google or here are some kotlin
tickets:
https://youtrack.jetbrains.com/issue/KT-41244/JEP-309-Add-constant-dynamic-support-for-lazyinit-fields
https://youtrack.jetbrains.com/issue/KT-51773/Consider-capability-to-declare-dynamic-constants-in-constant-pool-using-constant-dynamic-bytecode-instruction
--
This message was sent by Atlassian Jira
(v8.20.10#820010)