[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: RFR: 8292741: Convert JvmtiTagMapTable to ResourceHashtable
From:       Coleen Phillimore <coleenp () openjdk ! org>
Date:       2022-11-29 22:54:13
Message-ID: jnGI0gp4Ab1_Jj__Mkduwu6IcBV9zx4JqUtstwNrR8A=.feee8f26-3e76-4832-a683-382c2538e508 () github ! com
[Download RAW message or body]

On Tue, 29 Nov 2022 12:22:38 GMT, Afshin Zafari <duke@openjdk.org> wrote:

> > 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.

We don't have a lambda version of unlink (yet).  The local struct is fine IMO.

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic