RFR: 8296958: [JVMCI] add API for retrieving ConstantValue attributes
Tom Rodriguez
never at openjdk.org
Wed Nov 16 19:18:03 UTC 2022
On Mon, 14 Nov 2022 20:22:00 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
> In order to properly initialize classes in a native image at run time, Native Image needs to capture the value of [`ConstantValue` attributes](https://docs.oracle.com/javase/specs/jvms/se19/html/jvms-4.html#jvms-4.7.2) at image build time. This PR adds `ResolvedJavaField.getConstantValue()` for this purpose.
Marked as reviewed by never (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/11144
More information about the hotspot-compiler-dev
mailing list