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

Vladimir Kozlov kvn at openjdk.org
Wed Oct 26 15:15:26 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.

Looks good.

Please, also verify fix with `compiler/codegen/Test*Vect.java` tests which failed according to [JDK-8291881](https://bugs.openjdk.org/browse/JDK-8291881)

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

Marked as reviewed by kvn (Reviewer).

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


More information about the hotspot-compiler-dev mailing list