<Beans Dev>  Review request for 8028054: com.sun.beans.finder.MethodFinder has unsynchronized access to a static Map
sergey.malenkov at oracle.com
Thu Nov 14 05:50:58 PST 2013
Could you please review the following fix:
There is an unsynchronized access to internal caches.
I've synchronized both caches (for methods and constructors) .
The 8023310 issue shows how is slow a simple synchronization.
So I've created the Cache class that is similar to WeakIdentityMap.
Later we could remove WeakIdentityMap which is a special case of Cache.
More information about the beans-dev