RFR: 8292741: Convert JvmtiTagMapTable to ResourceHashtable
Afshin Zafari
duke at openjdk.org
Tue Nov 29 12:26:28 UTC 2022
On Mon, 28 Nov 2022 22:12:22 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Alternative for struct?
>
> Not sure ... didn't we start using C++ lambda's for some of these "closure" operations? @coleenp what is the usual pattern we use for this kind of thing?
The `unlink` method of `ResourceHashTable` gets an ITER type and calls its `do_entry(Key&,Value&)` method.
If we want to use lambdas, `unlink` should call the input directly and not one of its methods.
-------------
PR: https://git.openjdk.org/jdk/pull/11288
More information about the hotspot-dev
mailing list