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

Obsolete UseImplicitStableValues

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b08

      Description

      UseImplicitStableValues was added before @Stable was moved from being package private in java.lang.invoke to public non-exported in jdk.internal.vm.annotation as a means to allow the VM to implicitly trust certain fields in the java class libraries as having @Stable properties. It was later made default true, and currently this only affects String.value.

      However, since JDK-8150180 String.value is explicitly @Stable, so UseImplicitStableValues no longer has any real effect and can be obsoleted and then removed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                redestad Claes Redestad
                Reporter:
                redestad Claes Redestad
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: