RFR: 8332865: ubsan: os::attempt_reserve_memory_between reports overflow

Thomas Stuefe stuefe at openjdk.org
Wed Jun 5 13:54:56 UTC 2024


On Wed, 5 Jun 2024 13:41:55 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> I just ran the test with -Xlog:os+map=debug and got the same debug output.
> 
> > The fix is simple: ...
> 
> Thanks for suggesting the fix; should I just add this to the PR instead of disabling ubsan for the method ?
> 

Yes, please just use this one. Disabling is not needed.

> > and after squashing about a zillion unrelated ubsan errors
> 
> Yeah there are unfortunately still a few ones remaining (I opened already JBS issues for most of them so the situation improves slowly) .

Good job in hunting those, this is useful work

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

PR Comment: https://git.openjdk.org/jdk/pull/19543#issuecomment-2150027013


More information about the hotspot-runtime-dev mailing list