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

Pessimistic LMUL used where optimistic should be

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8u40
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b37
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        function doubleFoo(x) {
            return x.foo * 2;
        }
        print(doubleFoo({foo: 1 << 31}));

        This emits LMUL instead of invokedynamic lmul for the multiplication. That's wrong.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                attila Attila Szegedi
                Reporter:
                attila Attila Szegedi
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: