[code-reflection] RFR: Skip bytecode dialect [v2]

Adam Sotona asotona at openjdk.org
Tue Jan 30 16:18:02 UTC 2024


> This is the first step to avoid custom bytecode dialect. Second step will be to rewrite BytecodeLift. 
> 
> BytecodeGenerator now consumes CoreOps and generates bytecode directly.
> 
> Two try-finally test cases are disabled due to invalid structure (missing exception.region.exit for some finalizers).
> All other tests are passing.
> 
> Calculation of try-catch regions is still very raw and needs some future improvements. 
> 
> Please review.
> 
> Thanks,
> Adam

Adam Sotona has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains eight commits:

 - Merge branch 'code-reflection' into skip-bytecode-dialect
   
   # Conflicts:
   #	src/java.base/share/classes/java/lang/reflect/code/bytecode/BytecodeLower.java
 - removed BytecodeLower
 - disabled failing tests
 - work in progress
 - work in progress
 - work in progress
 - work in progress
 - work in progress

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

Changes: https://git.openjdk.org/babylon/pull/9/files
 Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=9&range=01
  Stats: 1990 lines in 13 files changed: 878 ins; 1059 del; 53 mod
  Patch: https://git.openjdk.org/babylon/pull/9.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/9/head:pull/9

PR: https://git.openjdk.org/babylon/pull/9


More information about the babylon-dev mailing list