On Thu, 6 Feb 2025 04:37:17 GMT, Chen Liang <li...@openjdk.org> wrote:

>> OK, if the extra load turns out to be a problem in the future, we could look 
>> into why the compilers are generating the load when the Class is 
>> known/constant.  If the old intrinsic was able to pull the constant out of 
>> the Klass, then surely we can do the same and pull the value from the Class 
>> field.
>
> Does `static final` help here?

Yes.  Yes it does.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22652#discussion_r1944694824

Reply via email to