[code-reflection] RFR: New model store implementation [v4]
Adam Sotona
asotona at openjdk.org
Tue Nov 4 15:09:24 UTC 2025
> This PR adds an alternative code model storage implementation.
>
> With the new implementation compiler attaches a code-model attribute to the synthesized helper method. The method then returns the model by `invokedynamic` of a bootstrap method that reads and materializes the attribute at runtime.
>
> The new implementation can be selected by setting the compiler option `codeModelStorageOption` to `"CODE_MODEL_ATTRIBUTE"`.
>
> Please review.
>
> Thanks,
> Adam
Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
types indexing fix
-------------
Changes:
- all: https://git.openjdk.org/babylon/pull/654/files
- new: https://git.openjdk.org/babylon/pull/654/files/62ec88d9..cc3bac7e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=babylon&pr=654&range=03
- incr: https://webrevs.openjdk.org/?repo=babylon&pr=654&range=02-03
Stats: 6 lines in 1 file changed: 2 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/babylon/pull/654.diff
Fetch: git fetch https://git.openjdk.org/babylon.git pull/654/head:pull/654
PR: https://git.openjdk.org/babylon/pull/654
More information about the babylon-dev
mailing list