On Tue, 12 Dec 2023 15:40:19 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:
> Somehow the JDK compiled with 7.5 for the author of that patch, but fails for > the author of this patch. I don't understand how this both can be true. I noticed my previous build is `slowdebug`. Today, I tested the `release` and `fastdebug` locally. These builds succeeded. So only the `slowdebug` build fails. What's the difference between `fastdebug` and `slowdebug`? It seems that `slow-debug` disables some optimizations, such as constant propagation, which may cause this issue. Should we adjust the concrete code (like this PR) or revise the build system to avoid the potential problem in the future? ------------- PR Comment: https://git.openjdk.org/jdk/pull/17047#issuecomment-1853142192