> Hi, this PR changes all occurrences of NULL to nullptr for the subdirectory
> share/memory/. Unfortunately the script that does the change isn't perfect,
> and so we
> need to comb through these manually to make sure nothing has gone wrong. I
> also review these changes but things slip past my
On Thu, 26 Jan 2023 15:04:06 GMT, Johan Sjölen wrote:
>> src/hotspot/share/memory/metaspace/blockTree.hpp line 228:
>>
>>> 226: DEBUG_ONLY(check_node(insertion_point);)
>>> 227: if (n->_word_size == insertion_point->_word_size) {
>>> 228: add_to_list(n, insertion_point); // p
On Thu, 26 Jan 2023 09:48:06 GMT, Thomas Stuefe wrote:
>Small nit. Do we have a unified naming scheme for comments?
Yeah, I forgot to update the PR message with all of the info. If you check now
you can see what's been decided upon. The discussions can be found in previous
PRs, I can link to t
On Wed, 25 Jan 2023 11:45:47 GMT, Johan Sjölen wrote:
> Do the conversion in the share/memory/ sub-directory and all of its files.
Metaspace changes are good.
src/hotspot/share/memory/metaspace/blockTree.hpp line 228:
> 226: DEBUG_ONLY(check_node(insertion_point);)
> 227: if (n->_w
On Wed, 25 Jan 2023 11:45:47 GMT, Johan Sjölen 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
On Wed, 25 Jan 2023 11:45:47 GMT, Johan Sjölen wrote:
> Do the conversion in the share/memory/ sub-directory and all of its files.
Passes tier1.
-
PR: https://git.openjdk.org/jdk/pull/12185
On Wed, 25 Jan 2023 11:45:47 GMT, Johan Sjölen wrote:
> Do the conversion in the share/memory/ sub-directory and all of its files.
Found one manual fix
src/hotspot/share/memory/heap.cpp line 666:
> 664: /**
> 665: * Search freelist for an entry on the list with the best fit.
> 666: * @return
Do the conversion in the share/memory/ sub-directory and all of its files.
-
Commit messages:
- Fix manual issue
- Replace NULL with nullptr in share/memory/
Changes: https://git.openjdk.org/jdk/pull/12185/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12185&range=00
Is