8309044: Replace NULL with nullptr, final sweep of hotspot code

Reviewed-by: stefank, dholmes, kvn, amitkumar
This commit is contained in:
Johan Sjölen 2023-05-31 09:19:47 +00:00
parent 88236263dc
commit 4f16161607
67 changed files with 114 additions and 114 deletions

View file

@ -266,7 +266,7 @@ Thread::~Thread() {
delete handle_area();
delete metadata_handles();
// osthread() can be nullptr, if creation of thread failed.
// osthread() can be null, if creation of thread failed.
if (osthread() != nullptr) os::free_thread(osthread());
// Clear Thread::current if thread is deleting itself and it has not