You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today we found out that there seems to be a bug in the JIT implementation of OpenJDK 14.0.1 that makes the behavior of at least one method - SimpleGrayscaleImage.blur() - non-deterministic.
You can test and verify this by running the JUnit tests of this project with using OpenJDK 14.0.1 and the following tests "flicker", i.e. sometimes pass, but often don't pass. If you run all tests in RadialHashAlgorithmTest, then testHashEarth2 and testHashSerialization will flicker. If you run each of those test methods isolated by itself, it will succeed.
Today we found out that there seems to be a bug in the JIT implementation of OpenJDK 14.0.1 that makes the behavior of at least one method -
SimpleGrayscaleImage.blur()
- non-deterministic.You can test and verify this by running the JUnit tests of this project with using OpenJDK 14.0.1 and the following tests "flicker", i.e. sometimes pass, but often don't pass. If you run all tests in
RadialHashAlgorithmTest
, thentestHashEarth2
andtestHashSerialization
will flicker. If you run each of those test methods isolated by itself, it will succeed.Also, the hash is not stable:
Both tests will pass consistently if the following VM parameters are passed when testing:
Alternatively, you can use OpenJDK 13.
(Other JUnit tests fail, too, but they also fail with OpenJDK 13, so that is probably not related to JIT.)
We'll probably submit a bug report to OpenJDK soon.
The text was updated successfully, but these errors were encountered: