Loading... (original) (raw)

The annotations j.l.invoke.{ForceInline, DontInline, Stable} are currently package private but could have use outside that package if used carefully and sparingly. For example:

  1. Methods on Atomic*FieldUpdater classes may benefit from @ForceInline, as would array support methods of

JDK-8136924

to preserve existing inlining characteristics.
2) Reference.reachabilityFence (

JDK-8133348

) could be annotated with @DontInline rather than explicitly making the method signature known to the VM.
3) The alias jdk.vm.ci.hotspot.Stable could potentially be removed.