Integrated: 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
Thu Sep 5 07:03:54 UTC 2024


On Wed, 4 Sep 2024 07:04:36 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.

This pull request has now been integrated.

Changeset: 28de44da
Author:    Amit Kumar <amitkumar at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/28de44da71871bec7648f01a4df2faee43fa43b6
Stats:     5 lines in 2 files changed: 3 ins; 0 del; 2 mod

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

Reviewed-by: stefank, kvn, dlong

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

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


More information about the hotspot-compiler-dev mailing list