Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8144223

Move j.l.invoke.{ForceInline, DontInline, Stable} to jdk.internal.vm.annotation package

XMLWordPrintable

    • b103
    • Not verified

      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.

            psandoz Paul Sandoz
            psandoz Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: