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

Mourad Abbay mabbay at openjdk.org
Wed Jun 18 18:26:00 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 two additional commits since the last revision:

 - Pass runtime values when unquoting an op
 - Add test case for when model has less than two operations

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

Changes:
  - all: https://git.openjdk.org/babylon/pull/424/files
  - new: https://git.openjdk.org/babylon/pull/424/files/4e8dda33..9c53f0a9

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

  Stats: 204 lines in 4 files changed: 81 ins; 44 del; 79 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