glassfish
  1. glassfish
  2. GLASSFISH-17511

Use of "new String(byte[] b, String env)" hist Sun JVM bottleneck

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.2_b13
    • Component/s: web_container
    • Labels:
      None

      Description

      This is a performance issue.
      The issue has been filed in Tomcat: https://issues.apache.org/bugzilla/show_bug.cgi?id=51400

      The same need to be fixed in GlassFish.

        Activity

        Hide
        kchung added a comment -

        I've applied the patch to PageDataImpl.java, SmapUtil.java, and should be in glassfish when JSP is integrated.

        Show
        kchung added a comment - I've applied the patch to PageDataImpl.java, SmapUtil.java, and should be in glassfish when JSP is integrated.
        Hide
        Shing Wai Chan added a comment -

        fix in 3.1.2
        Sending web/web-core/src/main/java/org/apache/catalina/authenticator/BasicAuthenticator.java
        Sending web/web-core/src/main/java/org/apache/catalina/authenticator/DigestAuthenticator.java
        Sending web/web-core/src/main/java/org/apache/catalina/connector/Request.java
        Sending web/web-core/src/main/java/org/apache/catalina/fileupload/ByteArrayOutputStream.java
        Sending web/web-core/src/main/java/org/apache/catalina/fileupload/PartItem.java
        Sending web/web-core/src/main/java/org/apache/catalina/fileupload/RequestItemIterator.java
        Sending web/web-core/src/main/java/org/apache/catalina/servlets/WebdavServlet.java
        Sending web/web-core/src/main/java/org/apache/catalina/ssi/SSIFilter.java
        Sending web/web-core/src/main/java/org/apache/catalina/ssi/SSIServletExternalResolver.java
        Sending web/web-core/src/main/java/org/apache/catalina/util/Base64.java
        Sending web/web-core/src/main/java/org/apache/catalina/util/RequestUtil.java
        Sending web/web-glue/src/main/java/com/sun/enterprise/web/PEAccessLogValve.java
        Sending web/web-glue/src/main/java/com/sun/enterprise/web/ProxyHandlerImpl.java
        Sending web/web-glue/src/main/java/com/sun/enterprise/web/pwc/connector/coyote/PwcCoyoteRequest.java
        Sending web/web-ha/src/main/java/org/glassfish/web/ha/session/management/CompositeMetadata.java
        Sending web/web-naming/pom.xml
        Sending web/web-naming/src/main/java/org/apache/naming/Util.java
        Sending web/web-naming/src/main/java/org/apache/naming/resources/ProxyDirContext.java
        Transmitting file data ..................
        Committed revision 51216.

        Show
        Shing Wai Chan added a comment - fix in 3.1.2 Sending web/web-core/src/main/java/org/apache/catalina/authenticator/BasicAuthenticator.java Sending web/web-core/src/main/java/org/apache/catalina/authenticator/DigestAuthenticator.java Sending web/web-core/src/main/java/org/apache/catalina/connector/Request.java Sending web/web-core/src/main/java/org/apache/catalina/fileupload/ByteArrayOutputStream.java Sending web/web-core/src/main/java/org/apache/catalina/fileupload/PartItem.java Sending web/web-core/src/main/java/org/apache/catalina/fileupload/RequestItemIterator.java Sending web/web-core/src/main/java/org/apache/catalina/servlets/WebdavServlet.java Sending web/web-core/src/main/java/org/apache/catalina/ssi/SSIFilter.java Sending web/web-core/src/main/java/org/apache/catalina/ssi/SSIServletExternalResolver.java Sending web/web-core/src/main/java/org/apache/catalina/util/Base64.java Sending web/web-core/src/main/java/org/apache/catalina/util/RequestUtil.java Sending web/web-glue/src/main/java/com/sun/enterprise/web/PEAccessLogValve.java Sending web/web-glue/src/main/java/com/sun/enterprise/web/ProxyHandlerImpl.java Sending web/web-glue/src/main/java/com/sun/enterprise/web/pwc/connector/coyote/PwcCoyoteRequest.java Sending web/web-ha/src/main/java/org/glassfish/web/ha/session/management/CompositeMetadata.java Sending web/web-naming/pom.xml Sending web/web-naming/src/main/java/org/apache/naming/Util.java Sending web/web-naming/src/main/java/org/apache/naming/resources/ProxyDirContext.java Transmitting file data .................. Committed revision 51216.
        Hide
        Shing Wai Chan added a comment -

        fix in 3.1.2 for CTS httpservletrequestsetCharacterEncodingUnsupportedEncodingExceptionTest
        Sending web-core/src/main/java/org/apache/catalina/connector/Request.java
        Sending web-core/src/main/java/org/apache/catalina/fileupload/ByteArrayOutputStream.java
        Sending web-core/src/main/java/org/apache/catalina/fileupload/PartItem.java
        Sending web-core/src/main/java/org/apache/catalina/util/RequestUtil.java
        Transmitting file data ....
        Committed revision 51239.

        Show
        Shing Wai Chan added a comment - fix in 3.1.2 for CTS httpservletrequestsetCharacterEncodingUnsupportedEncodingExceptionTest Sending web-core/src/main/java/org/apache/catalina/connector/Request.java Sending web-core/src/main/java/org/apache/catalina/fileupload/ByteArrayOutputStream.java Sending web-core/src/main/java/org/apache/catalina/fileupload/PartItem.java Sending web-core/src/main/java/org/apache/catalina/util/RequestUtil.java Transmitting file data .... Committed revision 51239.
        Hide
        Shing Wai Chan added a comment -

        Sending web/web-core/src/main/java/org/apache/catalina/authenticator/DigestAuthenticator.java
        Sending web/web-core/src/main/java/org/apache/catalina/connector/Request.java
        Sending web/web-core/src/main/java/org/apache/catalina/fileupload/ByteArrayOutputStream.java
        Sending web/web-core/src/main/java/org/apache/catalina/fileupload/PartItem.java
        Sending web/web-core/src/main/java/org/apache/catalina/fileupload/RequestItemIterator.java
        Sending web/web-core/src/main/java/org/apache/catalina/servlets/WebdavServlet.java
        Sending web/web-core/src/main/java/org/apache/catalina/ssi/SSIFilter.java
        Sending web/web-core/src/main/java/org/apache/catalina/ssi/SSIServletExternalResolver.java
        Sending web/web-core/src/main/java/org/apache/catalina/util/Base64.java
        Sending web/web-core/src/main/java/org/apache/catalina/util/RequestUtil.java
        Sending web/web-glue/src/main/java/com/sun/enterprise/web/PEAccessLogValve.java
        Sending web/web-glue/src/main/java/com/sun/enterprise/web/ProxyHandlerImpl.java
        Sending web/web-glue/src/main/java/com/sun/enterprise/web/pwc/connector/coyote/PwcCoyoteRequest.java
        Sending web/web-ha/src/main/java/org/glassfish/web/ha/session/management/CompositeMetadata.java
        Sending web/web-naming/pom.xml
        Sending web/web-naming/src/main/java/org/apache/naming/Util.java
        Sending web/web-naming/src/main/java/org/apache/naming/resources/ProxyDirContext.java

        Revision: 51257

        Show
        Shing Wai Chan added a comment - Sending web/web-core/src/main/java/org/apache/catalina/authenticator/DigestAuthenticator.java Sending web/web-core/src/main/java/org/apache/catalina/connector/Request.java Sending web/web-core/src/main/java/org/apache/catalina/fileupload/ByteArrayOutputStream.java Sending web/web-core/src/main/java/org/apache/catalina/fileupload/PartItem.java Sending web/web-core/src/main/java/org/apache/catalina/fileupload/RequestItemIterator.java Sending web/web-core/src/main/java/org/apache/catalina/servlets/WebdavServlet.java Sending web/web-core/src/main/java/org/apache/catalina/ssi/SSIFilter.java Sending web/web-core/src/main/java/org/apache/catalina/ssi/SSIServletExternalResolver.java Sending web/web-core/src/main/java/org/apache/catalina/util/Base64.java Sending web/web-core/src/main/java/org/apache/catalina/util/RequestUtil.java Sending web/web-glue/src/main/java/com/sun/enterprise/web/PEAccessLogValve.java Sending web/web-glue/src/main/java/com/sun/enterprise/web/ProxyHandlerImpl.java Sending web/web-glue/src/main/java/com/sun/enterprise/web/pwc/connector/coyote/PwcCoyoteRequest.java Sending web/web-ha/src/main/java/org/glassfish/web/ha/session/management/CompositeMetadata.java Sending web/web-naming/pom.xml Sending web/web-naming/src/main/java/org/apache/naming/Util.java Sending web/web-naming/src/main/java/org/apache/naming/resources/ProxyDirContext.java Revision: 51257
        Hide
        Shing Wai Chan added a comment -

        additional change due to API change from http://java.net/jira/browse/GRIZZLY-1141
        Sending web/web-core/src/main/java/org/apache/catalina/fileupload/RequestItemIterator.java
        Sending web/web-core/src/main/java/org/apache/catalina/ssi/SSIServletExternalResolver.java
        Sending web/web-core/src/main/java/org/apache/catalina/util/RequestUtil.java
        Sending web/web-naming/src/main/java/org/apache/naming/Util.java
        Transmitting file data ....
        Committed revision 51275.

        Show
        Shing Wai Chan added a comment - additional change due to API change from http://java.net/jira/browse/GRIZZLY-1141 Sending web/web-core/src/main/java/org/apache/catalina/fileupload/RequestItemIterator.java Sending web/web-core/src/main/java/org/apache/catalina/ssi/SSIServletExternalResolver.java Sending web/web-core/src/main/java/org/apache/catalina/util/RequestUtil.java Sending web/web-naming/src/main/java/org/apache/naming/Util.java Transmitting file data .... Committed revision 51275.

          People

          • Assignee:
            Shing Wai Chan
            Reporter:
            Shing Wai Chan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: