RFR: 8299973: Replace NULL with nullptr in share/utilities/

Coleen Phillimore coleenp at openjdk.org
Wed Jan 18 22:51:33 UTC 2023


On Wed, 18 Jan 2023 22:11:17 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

>> Do the conversion in the share/utilities sub-directory and all of its files.
>
> src/hotspot/share/utilities/debug.cpp line 425:
> 
>> 423:   CodeBlob* cb = CodeCache::find_blob((address)p);
>> 424:   if (cb == nullptr) {
>> 425:     tty->print_cr("nullptr");
> 
> Changes log, OK?

I think it's ok. Unless we have tests that check for NULL, but they're likely in gtests and you'll find them pretty quickly and can fix them pretty quickly if they slip through.

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

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


More information about the hotspot-dev mailing list