[code-reflection] RFR: Bytecode round 10 [v2]

Adam Sotona asotona at openjdk.org
Fri Aug 16 05:41:13 UTC 2024


> This time I focused on the roundtrip stabilizations, namely:
> - BytecodeLift: injected blocks do not pass the stack through block params
> - Avoided redundant slot loads and stores for parameters of blocks with just a single predecessor
> - SlotSSA calculates join point block argument types from the consuming slot load ops (instead of the slot store ops)
> - TestSmallCorpus now performs triple round stability verification and actual numbers are: >99% of methods is stable, no exceptions, no verification errors
> 
> Remaining instability of ~130 methods is related to nested try blocks.
> 
> Please review.
> 
> Thanks,
> Adam

Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:

  Update src/java.base/share/classes/java/lang/reflect/code/bytecode/BytecodeGenerator.java
  
  Co-authored-by: Chen Liang <liach at openjdk.org>

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

Changes:
  - all: https://git.openjdk.org/babylon/pull/215/files
  - new: https://git.openjdk.org/babylon/pull/215/files/542ca315..657ea0e8

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=babylon&pr=215&range=01
 - incr: https://webrevs.openjdk.org/?repo=babylon&pr=215&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/babylon/pull/215.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/215/head:pull/215

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


More information about the babylon-dev mailing list