RFR: 8331789: ubsan: deoptimization.cpp:403:29: runtime error: load of value 208, which is not a valid value for type 'bool'
Matthias Baesken
mbaesken at openjdk.org
Tue May 7 14:00:13 UTC 2024
When using ubsan (configure flag --enable-ubsan) on macOS x86_64 we run into this error :
/jdk/src/hotspot/share/runtime/deoptimization.cpp:403:29: runtime error: load of value 208, which is not a valid value for type 'bool'
#0 0x10247693e in restore_eliminated_locks(JavaThread*, GrowableArray<compiledVFrame*>*, bool, frame&, int, bool&) deoptimization.cpp:403
#1 0x102474b6f in Deoptimization::fetch_unroll_info_helper(JavaThread*, int) deoptimization.cpp:552
#2 0x10247fae9 in Deoptimization::uncommon_trap(JavaThread*, int, int) deoptimization.cpp:2624
#3 0x12846ab80 (<unknown module>)
Reason might be an uninitialized bool variable on one code path, which is unused in the calling function anyway.
-------------
Commit messages:
- JDK-8331789
Changes: https://git.openjdk.org/jdk/pull/19121/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19121&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8331789
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/19121.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19121/head:pull/19121
PR: https://git.openjdk.org/jdk/pull/19121
More information about the hotspot-dev
mailing list