RFR: 8331264: Reduce java.lang.constant initialization overhead [v3]

Claes Redestad redestad at openjdk.org
Mon Apr 29 14:25:06 UTC 2024


On Mon, 29 Apr 2024 14:16:34 GMT, Per Minborg <pminborg at openjdk.org> wrote:

>> Claes Redestad has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Simplified void check
>
> src/java.base/share/classes/java/lang/constant/ConstantDescs.java line 178:
> 
>> 176: 
>> 177:     private static final ClassDesc[] INDY_BOOTSTRAP_ARGS = {
>> 178:             CD_MethodHandles_Lookup,
> 
> Can these fields be @Stable?

I don't think it'd hurt, but I would be surprised if any of these would be hot enough to see a benefit from that.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18991#discussion_r1583177539


More information about the core-libs-dev mailing list