RFR: 8332461: ubsan : dependencies.cpp:906:3: runtime error: load of value 4294967295, which is not a valid value for type 'DepType' [v2]

Stefan Karlsson stefank at openjdk.org
Wed Sep 4 13:18:19 UTC 2024


On Wed, 4 Sep 2024 09:49:49 GMT, Amit Kumar <amitkumar at openjdk.org> wrote:

>> 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.
>
> Amit Kumar has updated the pull request incrementally with one additional commit since the last revision:
> 
>   initialise with undefined_dependency

Looks good from my POV, but I'd like to see one of the compiler devs to properly Review this.

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

Marked as reviewed by stefank (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20847#pullrequestreview-2280176679


More information about the hotspot-compiler-dev mailing list