[code-reflection] RFR: OpBuilder optimizations - part 1. [v10]
Adam Sotona
asotona at openjdk.org
Tue Nov 18 17:01:54 UTC 2025
> This PR include following changes:
>
> - op-building methods delegate to a synthetic inner class
> - fixed boxing in `OpBuilder`
> - op-building methods are generated by `BytecodeGenerator` and support wide range of ops
> - `CodeModelTranslator` is deleted
> - synthetic op-building method overrides significantly reduce overhead (by 60% on `TestBytecode`)
> - refactored `OpBuilder` to build `ModuleOp` instead of individual `FuncCallOp`s
> - fixed `BytecodeGenerator` to support `ModuleOp` and `FuncCallOp`
Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
synthClassSym to codeModelsClassSym rename
-------------
Changes:
- all: https://git.openjdk.org/babylon/pull/679/files
- new: https://git.openjdk.org/babylon/pull/679/files/285a1911..39516b9a
Webrevs:
- full: https://webrevs.openjdk.org/?repo=babylon&pr=679&range=09
- incr: https://webrevs.openjdk.org/?repo=babylon&pr=679&range=08-09
Stats: 8 lines in 1 file changed: 1 ins; 0 del; 7 mod
Patch: https://git.openjdk.org/babylon/pull/679.diff
Fetch: git fetch https://git.openjdk.org/babylon.git pull/679/head:pull/679
PR: https://git.openjdk.org/babylon/pull/679
More information about the babylon-dev
mailing list