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

Obsolete UseImplicitStableValues

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 13
    • 13
    • hotspot
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: