RFR: 8358957: [ubsan]: The assert in layout_helper_boolean_diffbit() in klass.hpp needs UB to fail [v7]
Afshin Zafari
azafari at openjdk.org
Tue Nov 11 10:13:44 UTC 2025
> Avoid using loop and UB in left-shift operation as suggested by Kim's comment in the JBS-issue.
>
> Tests:
> mach5 tiers 1-5 {macosx-aarch64, linux-x64, windows-x64} x {debug, product}
Afshin Zafari has updated the pull request incrementally with one additional commit since the last revision:
Windows warning bypassed
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27288/files
- new: https://git.openjdk.org/jdk/pull/27288/files/f0d4dfbd..b00636bf
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27288&range=06
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27288&range=05-06
Stats: 5 lines in 1 file changed: 2 ins; 2 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/27288.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27288/head:pull/27288
PR: https://git.openjdk.org/jdk/pull/27288
More information about the hotspot-dev
mailing list