aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From timothyjw...@apache.org
Subject svn commit: r1133279 - in /aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl: common/AbstractWovenProxyAdapter.java interfaces/InterfaceCombiningClassAdapter.java interfaces/InterfaceUsingWovenProxyAdapter.java
Date Wed, 08 Jun 2011 08:15:40 GMT
Author: timothyjward
Date: Wed Jun  8 08:15:40 2011
New Revision: 1133279

URL: http://svn.apache.org/viewvc?rev=1133279&view=rev
Log:
ARIES-671 : Tidy up old imports/unneeded fields

Modified:
    aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/common/AbstractWovenProxyAdapter.java
    aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/interfaces/InterfaceCombiningClassAdapter.java
    aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/interfaces/InterfaceUsingWovenProxyAdapter.java

Modified: aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/common/AbstractWovenProxyAdapter.java
URL: http://svn.apache.org/viewvc/aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/common/AbstractWovenProxyAdapter.java?rev=1133279&r1=1133278&r2=1133279&view=diff
==============================================================================
--- aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/common/AbstractWovenProxyAdapter.java
(original)
+++ aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/common/AbstractWovenProxyAdapter.java
Wed Jun  8 08:15:40 2011
@@ -47,7 +47,6 @@ import org.objectweb.asm.Type;
 import org.objectweb.asm.commons.AdviceAdapter;
 import org.objectweb.asm.commons.GeneratorAdapter;
 import org.objectweb.asm.commons.Method;
-import org.objectweb.asm.commons.StaticInitMerger;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

Modified: aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/interfaces/InterfaceCombiningClassAdapter.java
URL: http://svn.apache.org/viewvc/aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/interfaces/InterfaceCombiningClassAdapter.java?rev=1133279&r1=1133278&r2=1133279&view=diff
==============================================================================
--- aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/interfaces/InterfaceCombiningClassAdapter.java
(original)
+++ aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/interfaces/InterfaceCombiningClassAdapter.java
Wed Jun  8 08:15:40 2011
@@ -40,23 +40,6 @@ import org.objectweb.asm.commons.Method;
  * This class is used to aggregate several interfaces into a real class which implements
all of them
  */
 final class InterfaceCombiningClassAdapter extends EmptyVisitor implements Opcodes {
-
-  /** 
-   * A cache of previously created proxy class loaders. Because we cache then update
-   * the {@link InterfaceCombiningClassAdapter#accessList} we might temporarily 
-   * end up with more in the cache than the maximum size of the access list. 
-   * We therefore initialize this to be double the size of the access list so it
-   * should never be necessary to resize
-   */
-  private static final ConcurrentMap<HashSet<Class<?>>, ProxyClassLoader>
cache = 
-    new ConcurrentHashMap<HashSet<Class<?>>, ProxyClassLoader>(256);
-  /**
-   * The access List that determines when we evict things from our cache, items
-   * are removed and re-added when accessed so a {@link LinkedBlockingQueue}
-   * is considerably faster 
-   */
-  private static final Queue<HashSet<Class<?>>> accessList = 
-    new LinkedBlockingQueue<HashSet<Class<?>>>(128);
   
   /** The interfaces we need to implement */
   private final Collection<Class<?>> interfaces;

Modified: aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/interfaces/InterfaceUsingWovenProxyAdapter.java
URL: http://svn.apache.org/viewvc/aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/interfaces/InterfaceUsingWovenProxyAdapter.java?rev=1133279&r1=1133278&r2=1133279&view=diff
==============================================================================
--- aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/interfaces/InterfaceUsingWovenProxyAdapter.java
(original)
+++ aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/interfaces/InterfaceUsingWovenProxyAdapter.java
Wed Jun  8 08:15:40 2011
@@ -19,7 +19,6 @@
 package org.apache.aries.proxy.impl.interfaces;
 
 import org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter;
-import org.apache.aries.proxy.impl.weaving.ProxyWeavingHook;
 import org.objectweb.asm.ClassVisitor;
 import org.objectweb.asm.MethodVisitor;
 import org.objectweb.asm.Type;



Mime
View raw message