RFR: 8265480: add basic JVMCI support for JEP 309: Dynamic Class-File Constants [v3]

Paul Sandoz 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.

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

PR: https://git.openjdk.java.net/jdk/pull/3578


More information about the hotspot-compiler-dev mailing list