RFR: 8276789: Support C++ lambda in ResourceHashtable::iterate [v4]
Stefan Karlsson
stefank at openjdk.java.net
Wed May 25 06:31:05 UTC 2022
On Mon, 23 May 2022 17:13:36 GMT, Ioi Lam <iklam at openjdk.org> wrote:
>> I added two new template functions to reduce the boilerplate code when walking the entries in a ResourceHashtable
>>
>> - `template<typename F> void ResourceHashtable::iterate(F f)`
>> - `template<typename F> void ResourceHashtable::iterate_all(F f)`
>>
>> I also modified a couple of places in systemDictionaryShared.cpp to use the new functionality.
>>
>> Testing with tiers 1-4.
>
> Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
>
> some clean up suggested by @stefank
Marked as reviewed by stefank (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/8761
More information about the hotspot-dev
mailing list