RFR: JDK-8301074: Replace NULL with nullptr in share/opto/ [v5]

Johan Sjölen jsjolen at openjdk.org
Wed Mar 8 18:38:33 UTC 2023


On Tue, 7 Mar 2023 17:50:23 GMT, Jesper Wilhelmsson <jwilhelm at openjdk.org> wrote:

>> Johan Sjölen has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 10 commits:
>> 
>>  - Merge remote-tracking branch 'origin/JDK-8301074' into JDK-8301074
>>  - Explicitly use 0 for null in ARM interpreter
>>  - Merge remote-tracking branch 'origin/master' into JDK-8301074
>>  - Remove trailing whitespace
>>  - Check for null string explicitly
>>  - vkozlov fixes
>>  - Manual review fixes
>>  - Fix
>>  - Fix compile errors
>>  -  Replace NULL with nullptr in share/opto/
>
> src/hotspot/share/opto/memnode.cpp line 271:
> 
>> 269:       st->print("alias_idx==%d, adr_check==", alias_idx);
>> 270:       if( adr_check == nullptr ) {
>> 271:         st->print("null");
> 
> Where are these strings printed? Is this a user detectable change?

The tty, so yes. Previous changes to logging have been accepted

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

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


More information about the hotspot-compiler-dev mailing list