RFR: JDK-8300651: Replace NULL with nullptr in share/runtime/
Johan Sjölen
jsjolen at openjdk.org
Tue Jan 24 20:38:07 UTC 2023
On Mon, 23 Jan 2023 00:31:21 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Do the conversion in the share/runtime/ sub-directory and all of its files.
>
> src/hotspot/share/runtime/javaCalls.cpp line 98:
>
>> 96: _thread->set_active_handles(new_handles); // install new handle block and reset Java frame linkage
>> 97:
>> 98: assert (_thread->thread_state() != _thread_in_native, "cannot set native pc to null");
>
> FYI this assertion message seems wrong and in fact the assertion is redundant so I'm removing it in https://github.com/openjdk/jdk/pull/12134.
OK, deleting it to ensure it doesn't accidentally get pushed back in.
-------------
PR: https://git.openjdk.org/jdk/pull/12094
More information about the hotspot-dev
mailing list