RFR: JDK-8300240: Replace NULL with nullptr in share/ci/
Vladimir Kozlov
kvn at openjdk.org
Thu Jan 19 21:12:10 UTC 2023
On Tue, 17 Jan 2023 11:07:10 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:
> Do the conversion in the share/ci/ sub-directory and all of its files.
src/hotspot/share/ci/ciMethodData.hpp line 523:
> 521: // Get the data at an arbitrary bci, or null if there is none. If m
> 522: // is not nullptr look for a SpeculativeTrapData if any first.
> 523: ciProfileData* bci_to_data(int bci, ciMethod* m = nullptr);
Again mixture of `null` and `nullptr` in comment. Even so the comment for `ciMethodData::bci_to_data()` in .cpp file says `nullptr`
src/hotspot/share/ci/ciNullObject.hpp line 2:
> 1: /*
> 2: * Copyright (c) 1999, 2023, Oracle and/or its affiliates. All rights reserved.
No change in file
-------------
PR: https://git.openjdk.org/jdk/pull/12029
More information about the hotspot-compiler-dev
mailing list