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

Fix 8151522 caused test compiler/intrinsics/squaretolen/TestSquareToLen.java to fail

    Details

    • Subcomponent:
    • Resolved In Build:
      b02
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Testsuite: Regression hotspot

        The fix to JDK-8151522 caused test compiler/intrinsics/squaretolen/TestSquareToLen.java to fail.
        Test compiler/intrinsics/squaretolen/TestSquareToLen.java fails with error:
        Unrecognized VM option 'UseSquareToLenIntrinsic'
        Error: Could not create the Java Virtual Machine.
        Error: A fatal exception has occurred. Program will exit.

        Most likely it is a test issue.

          Issue Links

            Activity

            Hide
            kvn Vladimir Kozlov added a comment -
            Tests TestSquareToLen.java and MontgomeryMultiplyTest.java are missing -XX:+IgnoreUnrecognizedVMOptions flag.
            MontgomeryMultiplyTest.java does not fail because it runs only on platforms where flags are defined:
            @requires (os.simpleArch == "x64") & (os.family != "windows")
            But I would suggest to add IgnoreUnrecognizedVMOptions flag to it too to be consistent.
            Show
            kvn Vladimir Kozlov added a comment - Tests TestSquareToLen.java and MontgomeryMultiplyTest.java are missing -XX:+IgnoreUnrecognizedVMOptions flag. MontgomeryMultiplyTest.java does not fail because it runs only on platforms where flags are defined: @requires (os.simpleArch == "x64") & (os.family != "windows") But I would suggest to add IgnoreUnrecognizedVMOptions flag to it too to be consistent.
            Hide
            kvn Vladimir Kozlov added a comment -
            7u79 is also affected.
            Show
            kvn Vladimir Kozlov added a comment - 7u79 is also affected.
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk8u/jdk8u-dev/hotspot/rev/e443d4e588a3
            User: igerasim
            Date: 2016-03-18 14:43:19 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8u/jdk8u-dev/hotspot/rev/e443d4e588a3 User: igerasim Date: 2016-03-18 14:43:19 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/e443d4e588a3
            User: robm
            Date: 2016-03-30 01:34:24 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/e443d4e588a3 User: robm Date: 2016-03-30 01:34:24 +0000

              People

              • Assignee:
                vkempik Vladimir Kempik (Inactive)
                Reporter:
                kshefov Konstantin Shefov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: