RFR: 8301149: Parallel: Refactor MutableNUMASpace::update_layout [v2]

Albert Mingkun Yang ayang at openjdk.org
Wed Feb 1 14:13:23 UTC 2023


On Wed, 1 Feb 2023 13:54:58 GMT, Leo Korinth <lkorinth at openjdk.org> wrote:

>> Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   review
>
> src/hotspot/share/gc/parallel/mutableNUMASpace.cpp line 56:
> 
>> 54: #endif // LINUX
>> 55: 
>> 56:   int lgrp_limit = (int)os::numa_get_groups_num();
> 
> Pre-existing, but if you like you can make `lgrp_limit` `size_t`, one ugly cast can be removed. Unfortunately the cast two lines below can not be removed because of `int` indexing in growable array.

Revised.

-------------

PR: https://git.openjdk.org/jdk/pull/12216


More information about the hotspot-gc-dev mailing list