Integrated: 8274911: testlibrary_tests/ir_framework/tests/TestIRMatching.java fails with "java.lang.RuntimeException: Should have thrown exception"

Christian Hagedorn chagedorn at openjdk.java.net
Tue Oct 12 13:24:57 UTC 2021


On Mon, 11 Oct 2021 12:47:30 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

> The bailout fix added by [JDK-8271471](https://bugs.openjdk.java.net/browse/JDK-8271471) does not correctly work for the internal framework tests. The matching of `` in `Utils.java` was done on the test VM output instead of the the hotspot_pid file. I fixed that by checking the driver VM message sent on a bailout which is easier. I also improved the error reporting of `TestIRMatching` to reduce noise and better format errors.
> 
> Thanks,
> Christian

This pull request has now been integrated.

Changeset: f6234606
Author:    Christian Hagedorn <chagedorn at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/f62346066869b681d1cc9f63775393b11a48722a
Stats:     128 lines in 4 files changed: 55 ins; 38 del; 35 mod

8274911: testlibrary_tests/ir_framework/tests/TestIRMatching.java fails with "java.lang.RuntimeException: Should have thrown exception"

Reviewed-by: kvn, thartmann

-------------

PR: https://git.openjdk.java.net/jdk/pull/5893


More information about the hotspot-compiler-dev mailing list