This repository has been archived by the owner. It is now read-only.
Reflection utilities. Provides faster implementations of classes found in java.lang.reflect. (Openjdk request for inclusion: https://bugs.openjdk.java.net/show_bug.cgi?id=100120 )
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/main/java/no/sesat/commons/reflect
.gitignore
LICENSE.txt
README
pom.xml

README

Java's Proxy class has poor performance under multi-threaded environments.
Under high concurrency it can completely lock a jvm up.

This simple library has a ConcurrentProxy implementation that is basically a copy of Proxy but
changes the caching mechanism from using a HashMap surrounded with hard synchronization to a ConcurrentMap. 
It is a drop in replacement for the Proxy class.

If you'd like to see this included in Java go vote on
https://bugs.openjdk.java.net/show_bug.cgi?id=100120

Licensed under "GPLv3 with Classpath Exception" so that it remains compatible with OpenJDK (since it is a derivative of the Proxy class).
Although this work is submitted to the Java Bug Database
  http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7123493
so one is also free to use it from there under Oracle's terms.