RFR: JDK-8300242 : Replace NULL with nullptr in share/code/

Tobias Hartmann thartmann at openjdk.org
Wed Jan 18 08:43:20 UTC 2023


On Tue, 17 Jan 2023 11:16:44 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

> Do the conversion in the share/code/ sub-directory and all of its files.

Otherwise looks good to me.

src/hotspot/share/code/nmethod.cpp line 95:

> 93:   {                                                                       \
> 94:     Method* m = (method);                                                 \
> 95:     if (m != nullptr) {                                                      \

Suggestion:

    if (m != nullptr) {                                                   \

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

Marked as reviewed by thartmann (Reviewer).

PR: https://git.openjdk.org/jdk/pull/12031


More information about the hotspot-compiler-dev mailing list