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

compiler/intrinsics/mathexact/sanity tests fail with RepeatCompilation

XMLWordPrintable

    • b03
    • generic
    • generic

      The verifier used by the compiler/intrinsics/mathexact/sanity tests assumes a single compilation when inspecting the compilation log, and fails when the same compilation is repeated multiple times with the RepeatCompilation option. For example:

      $ make run-test TEST="test/hotspot/jtreg/compiler/intrinsics/mathexact/sanity/AddExactIntTest.java" CONF=linux-x86_64-server-fastdebug TEST_VM_OPTS="-XX:RepeatCompilation=42"
      (...)
      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected count of intrinsic _addExactI expected:1, matched: 43, suspected: 0

      Using RepeatCompilation during testing is useful, for example, for randomized testing.

            rcastanedalo Roberto Castaneda Lozano
            rcastanedalo Roberto Castaneda Lozano
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: