[code-reflection] Integrated: OpBuilder optimizations - part 1.
Adam Sotona
asotona at openjdk.org
Wed Nov 19 16:14:39 UTC 2025
On Wed, 12 Nov 2025 17:29:52 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> 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`
This pull request has now been integrated.
Changeset: 590b29e0
Author: Adam Sotona <asotona at openjdk.org>
URL: https://git.openjdk.org/babylon/commit/590b29e0a1891b3f0fa0eab5110296a6e517763f
Stats: 629 lines in 4 files changed: 345 ins; 215 del; 69 mod
OpBuilder optimizations - part 1.
Reviewed-by: mabbay
-------------
PR: https://git.openjdk.org/babylon/pull/679
More information about the babylon-dev
mailing list