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

Mourad Abbay mabbay at openjdk.org
Wed Jun 4 00:20:21 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:

 - Refactor
 - Loosen the check to accept result of VarOp initialized with a constant, as operand

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

Changes:
  - all: https://git.openjdk.org/babylon/pull/424/files
  - new: https://git.openjdk.org/babylon/pull/424/files/57458483..3a17f472

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

  Stats: 16 lines in 1 file changed: 5 ins; 10 del; 1 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