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

Tobias Hartmann thartmann at openjdk.org
Thu Oct 27 05:25:02 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 to me too. Please wait until Vladimir's testing passed.

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

Marked as reviewed by thartmann (Reviewer).

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


More information about the hotspot-compiler-dev mailing list