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

intrinsics for Math.decrementExact(J) and incrementExact(J) don't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: hs25, 8, 9
    • Fix Version/s: 8u20
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01

      Backports

        Description

        Issue was found by Anton Ivanov:
        "DecrementExactLongTest.java and IncrementExactLongTest.java fails on amd64 platform. I suppose a product bug (no intrinsic are used where it should be)"
        these tests were integrated in JDK-8028587

        the root cause is wrong signaturies in src/share/vm/classfile/vmSymbols.hpp, both methods use long2_long_signature, but it has to be long_long_signature.

        do_intrinsic(_decrementExactL, java_lang_Math, decrementExact_name, long2_long_signature, F_S)
        ...
        do_intrinsic(_incrementExactL, java_lang_Math, incrementExact_name, long2_long_signature, F_S)



          Attachments

            Issue Links

              Activity

                People

                Assignee:
                iignatyev Igor Ignatyev (Inactive)
                Reporter:
                iignatyev Igor Ignatyev (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: