RFR: 8304393: Provide method to iterate over regions of humongous object in G1 [v3]

Ivan Walulya iwalulya at openjdk.org
Mon Mar 20 12:06:47 UTC 2023


On Mon, 20 Mar 2023 11:38:26 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Thomas Schatzl has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   iwalulya review
>
> src/hotspot/share/gc/g1/g1CollectedHeap.hpp line 1095:
> 
>> 1093:   // Iterate over the regions that the humongous object starting at the given
>> 1094:   // region and apply the given method with the signature f(HeapRegion*) on them.
>> 1095:   template <typename Functor>
> 
> Maybe "Func" or "Function"? "Functor" means sth diff in some functional langs.

Not sure we should care what it means in some functional langs if the meaning is clear for C++ lambdas.

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

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


More information about the hotspot-gc-dev mailing list