RFR: 8332461: ubsan : dependencies.cpp:906:3: runtime error: load of value 4294967295, which is not a valid value for type 'DepType'
Amit Kumar
amitkumar at openjdk.org
Wed Sep 4 07:10:37 UTC 2024
The error mentioned in the JBS issue is seen on x86_64 as well as on s390x during the build, with `--enable-ubsan` configuration.
I have added `-1` to enum to fix this issue for now as mentioned by @MBaesken. But removing the assert itself is also a possible solution, mentioned on the JBS issue.
So I will happy to follow the reviews/suggestion if this is not a good fix.
-------------
Commit messages:
- make ubsan happy
Changes: https://git.openjdk.org/jdk/pull/20847/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20847&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8332461
Stats: 4 lines in 1 file changed: 3 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/20847.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20847/head:pull/20847
PR: https://git.openjdk.org/jdk/pull/20847
More information about the hotspot-compiler-dev
mailing list