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

Afshin Zafari azafari at openjdk.org
Mon Nov 3 09:16:05 UTC 2025


On Mon, 15 Sep 2025 10:20:32 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> Afshin Zafari has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   post-cond
>
> src/hotspot/share/oops/klass.hpp line 515:
> 
>> 513: 
>> 514:   // Want a pattern to quickly diff against layout header in register
>> 515:   // find something less clever!
> 
> Comment needs to be updated. It should describe what is being calculated, and the 2nd line
> is presumably resolved by this change.

Done

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27288#discussion_r2485780314


More information about the hotspot-dev mailing list