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

Erroneous execution results when C2 -Xcomp is used

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      linux

      Description

      Test execution results are erroneous when C2 with -Xcomp is used.

      -Xint:
      [
      Tester.var_8 = 118
      Tester.var_5 = 2076285318
      Tester.var_7 = 73
      Tester.var_6 = 1.39254183239738E308
      ]

      -server -Xcomp:
      [
      Tester.var_8 = 118
      Tester.var_5 = 2076285318
      Tester.var_7 = 84
      Tester.var_6 = 1.39254183239738E308
      ]

      I observe such behavior on linux-x86/x64 with both JDK 6u10b11 and JDK 7b24.

      Testcase is attached.
      Added a testcase with similar error.
      Added a number of cases with similar failure.
      Don't know whether it's the same bug or not.
      Also observed with HS10 (10.0-b19, jdk6u5-b11).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rasbold Chuck Rasbold
              Reporter:
              vlivanov Vladimir Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: