There are currently no tests that actually try to compile something and run code using the JVMCI. As a result, large parts of the code installation routines are not covered by any tests.
The tests will look similar to the test/compiler/jvmci/error tests, but for successful code installation a small dummy compiler is needed to produce working code. This compiler can return fixed machine code that implements well-known test methods.
The tests will look similar to the test/compiler/jvmci/error tests, but for successful code installation a small dummy compiler is needed to produce working code. This compiler can return fixed machine code that implements well-known test methods.
- is blocked by
-
JDK-8145714 [JVMCI] SPARC broken after JDK-8134994
-
- Closed
-
- relates to
-
JDK-8146100 compiler/jvmci/code/SimpleCodeInstallationTest.java JUnit Failure: expected:<12> but was:<109710641>
-
- Resolved
-
-
JDK-8147475 compiler/jvmci/code/SimpleDebugInfoTest.java fails in Assembler::locate_operand: ShouldNotReachHere()
-
- Closed
-