RFR: 8265480: add basic JVMCI support for JEP 309: Dynamic Class-File Constants [v3]
psandoz at openjdk.java.net
Thu Apr 22 15:34:22 UTC 2021
On Thu, 22 Apr 2021 10:34:15 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
> > Why does a dynamic constant producing a primitive value need to be explicitly processed by `resolvePossiblyCachedConstantInPool`? Is that so specific certain primitive values can be identified and/or values normalized in some manner.
> It's there to convert standard boxes (e.g. `java.lang.Integer`) to JVMCI boxes (e.g. `jdk.vm.ci.meta.PrimitiveConstant`)
Thanks, and now see it checks that in the test.
More information about the hotspot-compiler-dev