[code-reflection] RFR: Replace the use of Interpreter to create Quoted instance with specialized code [v9]

Mourad Abbay mabbay at openjdk.org
Thu May 29 23:03:24 UTC 2025


> Creating Quoted instance was done by invoking the Interpreter. The Interpreter is too general and if someone could somehow inject any code model we will interpret that as well. This PR replace the use of the interpreter with specialized code.

Mourad Abbay has updated the pull request incrementally with one additional commit since the last revision:

  Update CoreOp.quotedOp to reuse implementation of ByteCodeGenerator.quote.

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

Changes:
  - all: https://git.openjdk.org/babylon/pull/424/files
  - new: https://git.openjdk.org/babylon/pull/424/files/9f3db051..02f272c1

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=babylon&pr=424&range=08
 - incr: https://webrevs.openjdk.org/?repo=babylon&pr=424&range=07-08

  Stats: 66 lines in 1 file changed: 1 ins; 36 del; 29 mod
  Patch: https://git.openjdk.org/babylon/pull/424.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/424/head:pull/424

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


More information about the babylon-dev mailing list