HotSpot doesn't use NULL
Kennke, Roman
rkennke at amazon.de
Mon Nov 25 12:16:45 UTC 2024
Is it possible - and would it make sense - to mechanically forbit NULL? E.g. by re-defining it in a central place, just like we do for other stuff like constuctors for certain things?
> On Nov 24, 2024, at 9:21 AM, Kim Barrett <kim.barrett at oracle.com> wrote:
>
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.
>
>
>
> A reminder that we don't use NULL in HotSpot code anymore.
>
> We had a large batch of changes to remove uses of NULL in early 2023 (thanks
> to Johan Sjölen), and another batch in early 2024 (by various folks). Since
> then we've had a couple of cleanups of backsliding in this area -
> JDK-8327171
> and JDK-8342860. In the last 2 weeks (since the most recent of those
> cleanups), it seems we've had a flurry of new uses being introduced -
> JDK-8344917.
>
> Hopefully we'll get a fix for JDK-8343802 soon.
>
Amazon Web Services Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 257764 B
Sitz: Berlin
Ust-ID: DE 365 538 597
More information about the hotspot-dev
mailing list