7 Replies Latest reply on Apr 19, 2011 9:51 AM by jaikiran pai

    Performance issue in JBoss EAP 5 (log.trace)

    Remi Nodet Newbie

      We have cut around 15% CPU usage in our application (production environment) by using isTraceEnabled in the EJB security interceptors. In particular in PreSecurityInterceptor.java we have the following lines in different places:

      log.trace("SecurityIdentity="+SecurityActions.trace(si));
      log.trace("Going to the SecurityInterceptor with SC="+SecurityActions.trace(currentSC));
      log.trace("establishSecurityIdentity:SecCtx="+SecurityActions.trace(newSC));

      https://issues.jboss.org/secure/attachment/12339812/patch-trace.diff

      https://issues.jboss.org/browse/EJBTHREE-2042