Integrated: 8296958: [JVMCI] add API for retrieving ConstantValue attributes
Doug Simon
dnsimon at openjdk.org
Wed Nov 16 19:59:13 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.
This pull request has now been integrated.
Changeset: 4ce4f384
Author: Doug Simon <dnsimon at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4ce4f384d720ab66ffde898c48d95a58039b0080
Stats: 204 lines in 9 files changed: 198 ins; 5 del; 1 mod
8296958: [JVMCI] add API for retrieving ConstantValue attributes
Reviewed-by: never
-------------
PR: https://git.openjdk.org/jdk/pull/11144
More information about the hotspot-compiler-dev
mailing list