[code-reflection] RFR: Enable sealing of an operation [v13]

Mourad Abbay mabbay at openjdk.org
Fri Aug 29 14:32:20 UTC 2025


On Fri, 29 Aug 2025 08:34:20 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:

>> Allow for an unbound operation to be sealed, causing it to be copied when we append it to a block builder.
>
> Mourad Abbay has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 18 commits:
> 
>  - Merge branch 'code-reflection' into root-op-insertion
>  - Apply review comments
>  - Document Op.seal and Op.isSealed
>  - Apply suggestions
>  - Apply suggestions
>  - Update TestFreezeOp as result of API change
>  - Merge branch 'code-reflection' into root-op-insertion
>    
>    # Conflicts:
>    #	src/jdk.incubator.code/share/classes/jdk/incubator/code/Op.java
>    #	src/jdk.incubator.code/share/classes/jdk/incubator/code/internal/OpBuilder.java
>  - Test that freezing an already bound op, throws
>  - Test that structural quoted lambda are frozen
>  - Update method Op.parentBlock to take into account frozen operations
>  - ... and 8 more: https://git.openjdk.org/babylon/compare/cad3fdf3...4d220704

I merged with code-reflection, run HAT examples and ONNX tests, everything run without errors.

-------------

PR Comment: https://git.openjdk.org/babylon/pull/425#issuecomment-3237220645


More information about the babylon-dev mailing list