[lworld] TestCallingConventionC1.java fails with -Xcomp

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved: