java.lang.reflect.Module.WeakSet is not thread-safe
Alan Bateman
Alan.Bateman at oracle.com
Thu Apr 21 20:41:42 UTC 2016
On 21/04/2016 20:52, Rémi Forax wrote:
> I remember seeing this codd an thinking that synchronized should do the job.
> I don't believe this use case requires something more complex.
>
> Remi
I've taken a first pass over it and WeakPairMap seems straight-forward
to use but its implementation, with Pair/Weak/Primary/Secondary/Lookup
is complex.
Prior to #ReflectionWithoutReadability then transientReads was
important, less so now although I think we should continue to allow
concurrent lookups.
-Alan
More information about the jigsaw-dev
mailing list