-
Bug
-
Resolution: Fixed
-
P4
-
16, 17
-
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.
$ 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.