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

[lworld] TestCallingConventionC1.java fails with -Xcomp

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      TestCallingConventionC1.java fails with -Xcomp. I assume that this is because the calling convention is not yet fully implemented and with -Xcomp some methods are compiled that otherwise wouldn't.

       stderr: [Exception in thread "main" java.lang.reflect.InvocationTargetException
      at jdk.internal.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:569)
      at compiler.valhalla.valuetypes.ValueTypeTest.run(ValueTypeTest.java:579)
      at compiler.valhalla.valuetypes.ValueTypeTest.run(ValueTypeTest.java:361)
      at compiler.valhalla.valuetypes.TestCallingConventionC1.main(TestCallingConventionC1.java:70)
      Caused by: java.lang.RuntimeException: assertEquals: expected 324275244 to equal -710144052
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:189)
      at jdk.test.lib.Asserts.assertEQ(Asserts.java:166)
      at compiler.valhalla.valuetypes.TestCallingConventionC1.test34_verifier(TestCallingConventionC1.java:601)
      ... 6 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iklam Ioi Lam
                Reporter:
                thartmann Tobias Hartmann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: