[jdk7u-dev] Request for approval: 7123493

Rob McKenna rob.mckenna at oracle.com
Fri Sep 20 06:33:04 PDT 2013


Hi folks,

7123493: (proxy) Proxy.getProxyClass doesn't scale under high load
http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5e7ae178b24d
http://bugs.sun.com/view_bug.do?bug_id=7123493

7 review thread: 
http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-September/021014.html

As per the bug comments:
Replace the WeakHashMap with ConcurrentHashMap and also define a 
ProxyClassFactory as a Supplier as a clean way to handle multiple 
requests in generating a proxy class for the same class loader and same 
set of interfaces.

     -Rob



More information about the jdk7u-dev mailing list