RFR: 8330465: Stable Values and Collections (Internal) [v5]
Chen Liang
liach at openjdk.org
Wed May 15 15:44:21 UTC 2024
On Tue, 14 May 2024 11:12:39 GMT, Per Minborg <pminborg at openjdk.org> wrote:
>> src/hotspot/share/ci/ciField.cpp line 262:
>>
>>> 260: const char* stable_array3d_klass_name = "jdk/internal/lang/StableArray3D";
>>> 261:
>>> 262: static bool trust_final_non_static_fields_of_type(Symbol* signature) {
>>
>> Is there a better way of doing this?
>
> How do we check if the type implements `TrustedFieldType` in C?
Is it possible for us to just look at strict fields from valhalla, so we can reliably constant-fold those strict final fields? https://cr.openjdk.org/~jrose/jls/constructive-classes.html
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18794#discussion_r1601876058
More information about the compiler-dev
mailing list