[weld-commits] [weld/core] 85fed6: Cache interceptor chains in InterceptionContext

GitHub noreply at github.com
Fri Nov 14 11:00:12 EST 2014


  Branch: refs/heads/2.2
  Home:   https://github.com/weld/core
  Commit: 85fed6b1f74a1ef8cd0aea4cc56f0f03e711f5d1
      https://github.com/weld/core/commit/85fed6b1f74a1ef8cd0aea4cc56f0f03e711f5d1
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-11-14 (Fri, 14 Nov 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/bean/InterceptorImpl.java
    M impl/src/main/java/org/jboss/weld/injection/producer/ConstructorInterceptionInstantiator.java
    R impl/src/main/java/org/jboss/weld/interceptor/chain/AbstractInterceptionChain.java
    M impl/src/main/java/org/jboss/weld/interceptor/proxy/InterceptionContext.java
    R impl/src/main/java/org/jboss/weld/interceptor/proxy/InterceptorInvocationContext.java
    M impl/src/main/java/org/jboss/weld/interceptor/proxy/InterceptorMethodHandler.java
    R impl/src/main/java/org/jboss/weld/interceptor/proxy/SimpleInterceptionChain.java
    A impl/src/main/java/org/jboss/weld/interceptor/proxy/SimpleInvocationContext.java
    A impl/src/main/java/org/jboss/weld/interceptor/proxy/WeldInvocationContext.java
    R impl/src/main/java/org/jboss/weld/interceptor/spi/context/InterceptionChain.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/aroundConstruct/basic/AbstractInterceptor.java

  Log Message:
  -----------
  Cache interceptor chains in InterceptionContext


  Commit: e084e5533e972f6420f852a2e555169ba792d675
      https://github.com/weld/core/commit/e084e5533e972f6420f852a2e555169ba792d675
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-11-14 (Fri, 14 Nov 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/bean/proxy/CombinedInterceptorAndDecoratorStackMethodHandler.java
    M impl/src/main/java/org/jboss/weld/bean/proxy/InterceptedSubclassFactory.java
    M impl/src/main/java/org/jboss/weld/interceptor/proxy/InterceptorMethodHandler.java
    M impl/src/main/java/org/jboss/weld/interceptor/proxy/SimpleInvocationContext.java
    M impl/src/main/java/org/jboss/weld/interceptor/proxy/WeldInvocationContext.java

  Log Message:
  -----------
  Fix delegate-to-super methods and use them


  Commit: 3f9d157ea19e1b4d9f9ec36ed12c311e4ca68e4e
      https://github.com/weld/core/commit/3f9d157ea19e1b4d9f9ec36ed12c311e4ca68e4e
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-11-14 (Fri, 14 Nov 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/interceptor/proxy/InterceptorMethodHandler.java
    M impl/src/main/java/org/jboss/weld/interceptor/proxy/SimpleInvocationContext.java

  Log Message:
  -----------
  Shortcut for methods with no interceptors (e.g. with decorators only)


  Commit: f736b6100550bf44ccb04808d82affc7ad18f9a0
      https://github.com/weld/core/commit/f736b6100550bf44ccb04808d82affc7ad18f9a0
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-11-14 (Fri, 14 Nov 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/bean/proxy/ClientProxyFactory.java
    M impl/src/main/java/org/jboss/weld/bean/proxy/InterceptionDecorationContext.java
    A impl/src/main/java/org/jboss/weld/bean/proxy/RunWithinInterceptionDecorationContextGenerator.java

  Log Message:
  -----------
  Make logic that generates bytecode for InterceptionDecorationContext calls reusable


  Commit: 46bc3f1e45a6a69145477c9ac3bcd37db89d81d1
      https://github.com/weld/core/commit/46bc3f1e45a6a69145477c9ac3bcd37db89d81d1
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-11-14 (Fri, 14 Nov 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/annotated/enhanced/jlr/MethodSignatureImpl.java
    M impl/src/main/java/org/jboss/weld/bean/proxy/InterceptedSubclassFactory.java
    M impl/src/main/java/org/jboss/weld/injection/producer/DecoratorInjectionTarget.java
    M impl/src/main/java/org/jboss/weld/injection/producer/SubclassedComponentInstantiator.java
    M impl/src/main/java/org/jboss/weld/util/collections/WeldCollections.java

  Log Message:
  -----------
  Do not call into method handler from methods that are not intercepted (only push to InterceptionDecorationContext)


  Commit: 39a8cdc52ddf27eb748d02ca0bfff7ba7d34b2c0
      https://github.com/weld/core/commit/39a8cdc52ddf27eb748d02ca0bfff7ba7d34b2c0
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-11-14 (Fri, 14 Nov 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/bean/proxy/ClientProxyFactory.java
    M impl/src/main/java/org/jboss/weld/bean/proxy/InterceptionDecorationContext.java
    M impl/src/main/java/org/jboss/weld/context/AbstractContext.java
    M impl/src/main/java/org/jboss/weld/context/bound/BoundRequestContextImpl.java
    R impl/src/main/java/org/jboss/weld/context/cache/RequestScopedBeanCache.java
    A impl/src/main/java/org/jboss/weld/context/cache/RequestScopedCache.java
    M impl/src/main/java/org/jboss/weld/context/http/HttpRequestContextImpl.java
    M impl/src/main/java/org/jboss/weld/servlet/HttpContextLifecycle.java

  Log Message:
  -----------
  Make use of RequestScopedCache for removing InterceptionDecorationContext at the end of the request


  Commit: 43128d7f36ce9c114008428e67ee3835cf02b549
      https://github.com/weld/core/commit/43128d7f36ce9c114008428e67ee3835cf02b549
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-11-14 (Fri, 14 Nov 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/bean/proxy/CombinedInterceptorAndDecoratorStackMethodHandler.java
    M impl/src/main/java/org/jboss/weld/bean/proxy/InterceptedSubclassFactory.java
    M impl/src/main/java/org/jboss/weld/bean/proxy/InterceptionDecorationContext.java
    A impl/src/main/java/org/jboss/weld/bean/proxy/StackAwareMethodHandler.java
    M impl/src/main/java/org/jboss/weld/context/cache/RequestScopedCache.java
    M impl/src/main/java/org/jboss/weld/interceptor/proxy/InterceptorMethodHandler.java
    M impl/src/main/java/org/jboss/weld/interceptor/proxy/SimpleInvocationContext.java
    M impl/src/main/java/org/jboss/weld/interceptor/proxy/WeldInvocationContext.java

  Log Message:
  -----------
  Reduce the number of times ThreadLocal is accessed on critical path


  Commit: 4e7a49cfa5f9cbb74a1be856b13275ea50cf3a6b
      https://github.com/weld/core/commit/4e7a49cfa5f9cbb74a1be856b13275ea50cf3a6b
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-11-14 (Fri, 14 Nov 2014)

  Changed paths:
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundConstructInterceptorWithObjectReturnTypeTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundConstructInterceptorWithVoidReturnTypeTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundInvokeInterceptorWithInvalidParameterCountTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundInvokeInterceptorWithInvalidParameterTypeTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundInvokeInterceptorWithInvalidReturnTypeTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundInvokeInterceptorWithValidSignatureTest.java
    R tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/InterceptedBean.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/LifecycleInterceptedBean.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/MethodInterceptedBean.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithInvalidParameterCountTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithInvalidParameterTypeTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithInvalidReturnTypeTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithObjectReturnTypeTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithVoidReturnTypeTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithoutParametersTest.java

  Log Message:
  -----------
  Fix intermittend failure in unit tests


  Commit: 77fc8ae45388698d6507117a3aef09b86a4154aa
      https://github.com/weld/core/commit/77fc8ae45388698d6507117a3aef09b86a4154aa
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-11-14 (Fri, 14 Nov 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/bean/proxy/InterceptionDecorationContext.java

  Log Message:
  -----------
  Minor improvements


  Commit: 0b4803132eb1af32349b2c786b85e68964bab487
      https://github.com/weld/core/commit/0b4803132eb1af32349b2c786b85e68964bab487
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-11-14 (Fri, 14 Nov 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/bean/proxy/InterceptedSubclassFactory.java

  Log Message:
  -----------
  Only generate delegate-to-supper methods for intercepted methods


  Commit: d6b09d2f86528075ec2bb2d4e756f8753cca9473
      https://github.com/weld/core/commit/d6b09d2f86528075ec2bb2d4e756f8753cca9473
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-11-14 (Fri, 14 Nov 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/bean/proxy/InterceptionDecorationContext.java
    M impl/src/main/java/org/jboss/weld/bean/proxy/RunWithinInterceptionDecorationContextGenerator.java
    M impl/src/main/java/org/jboss/weld/interceptor/proxy/InterceptorMethodHandler.java
    M impl/src/main/java/org/jboss/weld/interceptor/proxy/WeldInvocationContext.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/thread/DispatchToThread.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/thread/DispatchToThreadInterceptor.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/thread/Inc.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/thread/IncInterceptor.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/thread/InterceptedBean.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/thread/InterceptorDispatchingToDiffferentThreadTest.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/thread/ThreadPool.java

  Log Message:
  -----------
  Make sure WeldInvocationContext survives being dispatched to a different thread


  Commit: 5dfaa39c7749b7eba5522457ed7c3f2f17c3491d
      https://github.com/weld/core/commit/5dfaa39c7749b7eba5522457ed7c3f2f17c3491d
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-11-14 (Fri, 14 Nov 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/bean/proxy/ClientProxyFactory.java
    M impl/src/main/java/org/jboss/weld/bean/proxy/DecoratorProxyFactory.java
    M impl/src/main/java/org/jboss/weld/bean/proxy/InterceptedSubclassFactory.java
    M impl/src/main/java/org/jboss/weld/bean/proxy/ProxyFactory.java
    M impl/src/main/java/org/jboss/weld/bean/proxy/RunWithinInterceptionDecorationContextGenerator.java
    R impl/src/main/java/org/jboss/weld/util/bytecode/Boxing.java
    M impl/src/main/java/org/jboss/weld/util/bytecode/BytecodeUtils.java
    M impl/src/main/java/org/jboss/weld/util/bytecode/ConstructorUtils.java
    R impl/src/main/java/org/jboss/weld/util/bytecode/DescriptorUtils.java
    M impl/src/main/java/org/jboss/weld/util/bytecode/RuntimeMethodInformation.java
    M impl/src/main/java/org/jboss/weld/util/bytecode/StaticMethodInformation.java

  Log Message:
  -----------
  Remove duplicated code


  Commit: df239d4670b9d2f9e7cecef03e4dd2f994fff097
      https://github.com/weld/core/commit/df239d4670b9d2f9e7cecef03e4dd2f994fff097
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-11-14 (Fri, 14 Nov 2014)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  Upgrade jboss-classfilewriter to 1.0.5.Final


Compare: https://github.com/weld/core/compare/a0d0e3063f66...df239d4670b9


More information about the weld-commits mailing list