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

VM annotation to mark methods w/o side effects

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 13
    • hotspot
    • None

      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

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

              Created:
              Updated: