RFR: 6983726: Reimplement MethodHandleProxies.asInterfaceInstance [v20]

Mandy Chung mchung at openjdk.org
Wed Jul 5 16:03:10 UTC 2023


On Tue, 4 Jul 2023 21:35:38 GMT, Jorn Vernee <jvernee at 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


More information about the core-libs-dev mailing list