8144223: Move j.l.invoke.{ForceInline, DontInline, Stable} to jdk.internal.vm.annotation package (original) (raw)

John Rose john.r.rose at oracle.com
Mon Nov 30 21:34:19 UTC 2015


On Nov 30, 2015, at 1:29 PM, Remi Forax <forax at univ-mlv.fr> wrote:

One annotation is missing, @TrueFinal, currently only the fields of the classes of java.lang.invoke are considered as true final. This annotation is also needed to improve the performance of the field updaters of j.u.c.a. One can use @Stable instead but it seems awkward.

Good idea! Let's use "final @Stable" for that. (It's gonna be awkward in any case, till we sort out final finally.)

Paul, would you please file a followup bug for this? It may let us decouple the JVM from the TrustFinalFields special cases.

— John



More information about the hotspot-runtime-dev mailing list