On Mon, 29 Apr 2024 14:22:22 GMT, Claes Redestad <redes...@openjdk.org> wrote:

>> 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.

I don't think this really helps; the array elements are not used directly via 
field reference.

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

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

Reply via email to