On Wed, 25 Jan 2023 11:45:47 GMT, Johan Sjölen <jsjo...@openjdk.org> wrote:
> Do the conversion in the share/memory/ sub-directory and all of its files. Marked as reviewed by stefank (Reviewer). src/hotspot/share/memory/guardedMemory.hpp line 196: > 194: */ > 195: void* wrap_with_guards(void* base_ptr, size_t user_size, const void* > tag = nullptr) { > 196: assert(base_ptr != nullptr, "Attempt to wrap nullptr with memory > guard"); wrap nullptr => wrap null? src/hotspot/share/memory/guardedMemory.hpp line 229: > 227: * Return the general purpose tag. > 228: * > 229: * @return the general purpose tag, defaults to nullptr. nullptr => null? src/hotspot/share/memory/guardedMemory.hpp line 306: > 304: * @param tag optional general purpose tag (see > GuardedMemory::get_tag()) > 305: * > 306: * @return guarded wrapped memory pointer to the user area, or nullptr > if OOM. nullptr => null? ------------- PR: https://git.openjdk.org/jdk/pull/12185