RFR: 8291781: assert(!is_visited) failed: visit only once with -XX:+SuperWordRTDepCheck

Vladimir Kozlov kvn at openjdk.org
Thu Oct 27 04:04:54 UTC 2022


On Wed, 26 Oct 2022 08:17:00 GMT, Fei Gao <fgao at openjdk.org> wrote:

> `-XX:+SuperWordRTDepCheck` is a develop flag and misses proper implementation. But when enabled, it could change code path, resulting in the failures in [JDK-8291781](https://bugs.openjdk.org/browse/JDK-8291781) and [JDK-8291881](https://bugs.openjdk.org/browse/JDK-8291881). As @vnkozlov suggested in [JDK-8291781](https://bugs.openjdk.org/browse/JDK-8291781), the small patch converts the flag to pure debug code to avoid effect on code generation.

Let me test it (with this flag enabled by default) before you push.

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

PR: https://git.openjdk.org/jdk/pull/10868


More information about the hotspot-compiler-dev mailing list