On Tue, 4 Jul 2023 21:35:38 GMT, Jorn Vernee <jver...@openjdk.org> wrote:

> If multiple threads race to create a new proxy lookup here, they will all get 
> a distinct lookup returned to them. I think this is okay? Though, it would 
> mean we have less sharing of proxy classes.

yes, that's okay.  We can also do what you suggest to synchronize on `r`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13197#discussion_r1253325517

Reply via email to