RFR: 8358957: [ubsan]: The assert in layout_helper_boolean_diffbit() in klass.hpp needs UB to fail [v8]

Afshin Zafari azafari at openjdk.org
Sat Jan 24 02:46:54 UTC 2026


On Wed, 12 Nov 2025 09:18:48 GMT, Afshin Zafari <azafari at openjdk.org> wrote:

>> 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:
> 
>   disabling the msvc warning remoeved

Dear reviewers @dean-long and @jdksjolen,
This PR is still waiting for your final review and comments. Please (re)review it and let it be moved forward. TIA.

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

PR Comment: https://git.openjdk.org/jdk/pull/27288#issuecomment-3789742737


More information about the hotspot-dev mailing list