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

Amit Kumar amitkumar at openjdk.org
Mon May 29 12:27:03 UTC 2023

On Mon, 29 May 2023 10:09:15 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

> A final sweep of Hotspot to remove all re-added NULLs. With only 110 changes I'd appreciate if this was considered trivial.

not a review, but would you like to check if these could replaced as well :-) 

./cpu/ppc/macroAssembler_ppc.hpp:735:  void load_klass_check_null(Register dst, Register src, Label* is_null = NULL);
./cpu/ppc/stubGenerator_ppc.cpp:4700:    if (UnsafeCopyMemory::_table == NULL) {
./cpu/riscv/codeBuffer_riscv.cpp:74:  if (cb->stubs()->maybe_expand_to_ensure_remaining(total_requested_size) && cb->blob() == NULL) {
./share/include/jvm.h:423: * Find a class from a boot class loader. Returns NULL if class not found.
./share/include/cds.h:72:  char*   _mapped_base;       // Actually mapped address (NULL if this region is not mapped).
./share/opto/runtime.cpp:491:  fields[TypeFunc::Parms+0] = NULL; // void


PR Comment: https://git.openjdk.org/jdk/pull/14198#issuecomment-1567074248

More information about the graal-dev mailing list