RFR: 8332955: ubsan: runningCounters.cpp:48:61: runtime error: member call on null pointer of type 'struct VirtualSpaceList'

David Holmes dholmes at openjdk.org
Fri May 31 05:28:01 UTC 2024


On Tue, 28 May 2024 18:12:36 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> @MBaesken and @dholmes-ora convinced me this needs fixing. Fix is trivial; for details, please see JBS issue.

The hardening you propose would mask any incorrect usage of these functions. I would prefer if they assert the fields are non-null.

Thanks for filing the other issue.

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

PR Comment: https://git.openjdk.org/jdk/pull/19435#issuecomment-2141255089


More information about the hotspot-runtime-dev mailing list