RFR: 8351565: Implement JEP 502: Stable Values (Preview) [v6]

Per Minborg pminborg at openjdk.org
Tue Apr 1 10:06:43 UTC 2025


On Mon, 17 Mar 2025 02:35:01 GMT, Chen Liang <liach at openjdk.org> wrote:

>> src/hotspot/share/ci/ciField.cpp line 254:
>> 
>>> 252: 
>>> 253: static bool trust_final_non_static_fields_of_type(Symbol* signature) {
>>> 254:   return signature == vmSymbols::java_lang_StableValue_signature();
>> 
>> Just a note that we will need to decide whether to keep this or not...
>
> We might change this to require stable values to be strict final instead if strict final is previewed at the same time as stable values - https://openjdk.org/jeps/8350458

This has now been removed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23972#discussion_r2022552862


More information about the hotspot-dev mailing list