Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-640

Axis performance - unnessacary toString call

XMLWordPrintable

      i noticed that Axis unnessacary calls (twice) toSting of object returned by web services.

      if the toSting method of the object has bad performance, for example when using reflection, it can effect the performance of the web service a lot.

      i used profiler and the problem is in classes
      org.apache.axis.providers.java.RPCProvider
      org.apache.axis.providers.java.RPCInvocation

      it might be something like:
      log.debug("some message"+object.toString());

      if the debug level is not checked the toString will be called anyway...

            tdiesler@redhat.com Thomas Diesler
            gmeroz gmeroz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: