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

VM annotation to mark methods w/o side effects

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 13
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None

      Description

      Consider adding VM annotation to mark methods without any side effects except those needed to compute the return value (Integer.valueOf() is a good example.)

      Relevant discussion:
        https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2019-February/032638.html

        Attachments

          Activity

            People

            • Assignee:
              vlivanov Vladimir Ivanov
              Reporter:
              vlivanov Vladimir Ivanov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: