RFR: 8309044: Replace NULL with nullptr, final sweep of hotspot code
Johan Sjölen
jsjolen at openjdk.org
Mon May 29 11:02:42 UTC 2023
On Mon, 29 May 2023 10:19:02 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:
>> A final sweep of Hotspot to remove all re-added NULLs. With only 110 changes I'd appreciate if this was considered trivial.
>
> src/hotspot/share/utilities/globalDefinitions.cpp line 162:
>
>> 160: static_assert((size_t)HeapWordSize >= sizeof(juint),
>> 161: "HeapWord should be at least as large as juint");
>> 162: static_assert(sizeof(nullptr) == sizeof(char*), "null must be same size as pointer");
>
> T
Add both?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14198#discussion_r1209167397
More information about the hotspot-dev
mailing list